uses
System,
Classes,
Controls,
GR32,
GR32_Image,
GR32_Layers,
igGrid,
SysUtils,
Math,
GR32_Resamplers,
GR32_RepaintOpt,
igPaintFuncs;