/** * Brush Stroke Processing * * Handles brush stroke interpolation, line drawing, and stroke smoothing. * This ensures smooth painting even with fast mouse movements. */ import { UVPaintCoordinates } from './uv_raycasting'; import { PaintStrokeOptions } from './uv_painting'; export interface BrushStrokePoint { x: number; y: number; pressure?: number; tilt?: number; } /** * Draw brush line between two points * Interpolates between start and end to ensure smooth strokes */ export declare function drawBrushLine(start: BrushStrokePoint, end: BrushStrokePoint, coords: UVPaintCoordinates, options: PaintStrokeOptions): void; /** * Smooth brush stroke * Applies smoothing to reduce jitter in fast strokes */ export declare function smoothBrushStroke(points: BrushStrokePoint[], smoothing?: number): BrushStrokePoint[]; /** * Process brush stroke with interpolation */ export declare function processBrushStroke(points: BrushStrokePoint[], coords: UVPaintCoordinates, options: PaintStrokeOptions): void; //# sourceMappingURL=brush_stroke.d.ts.map