> + /* If it is defined to 1 then the rasterizer will use squared distances */
> + /* for computation. It can greatly improve the performance but there is */
> + /* a chance of overflow and artifacts. You can safely use is upto a */
> + /* pixel size of 128. */
> + #ifndef USE_SQUARED_DISTANCES
> + #define USE_SQUARED_DISTANCES 0
> + #endif
Nice idea, thanks!
Formatting nit: Please ensure that '#' is always on the first line,
so:
#ifndef USE_SQUARED_DISTANCES
# define USE_SQUARED_DISTANCES 0
#endif
Werner