Expand description
DDA (Digital Differential Analyzer) line interpolation algorithms.
Port of agg_dda_line.h — efficient line interpolation using integer
arithmetic for rasterization.
Structs§
- Dda2
Line Interpolator - Integer DDA line interpolator using Bresenham-style remainder tracking.
- DdaLine
Interpolator - Fixed-point DDA line interpolator with configurable precision.
- Line
Bresenham Interpolator - Bresenham line interpolator with subpixel precision.
Constants§
- SUBPIXEL_
MASK - SUBPIXEL_
SCALE - SUBPIXEL_
SHIFT - Subpixel constants for Bresenham interpolator.
Functions§
- line_lr
- Convert from high-resolution (subpixel) to low-resolution (pixel).