/** * Pure rendering functions for annotations. * Each function takes a canvas 2D context, canvas dimensions, and an annotation. * Coordinates are normalized (0..1) and scaled to canvas pixels. */ import type { Annotation, BrushAnnotation, ArrowAnnotation, TextAnnotation } from './annotation-types.js'; /** * Render a brush stroke annotation. */ export declare function renderBrush(ctx: CanvasRenderingContext2D, width: number, height: number, annotation: BrushAnnotation): void; /** * Render an arrow annotation with a triangular arrowhead. */ export declare function renderArrow(ctx: CanvasRenderingContext2D, width: number, height: number, annotation: ArrowAnnotation): void; /** * Render a text annotation with a subtle shadow for readability. */ export declare function renderText(ctx: CanvasRenderingContext2D, width: number, height: number, annotation: TextAnnotation): void; /** * Render all annotations onto a canvas context. */ export declare function renderAll(ctx: CanvasRenderingContext2D, width: number, height: number, annotations: readonly Annotation[]): void; //# sourceMappingURL=annotation-renderer.d.ts.map