ImageEn, unit imageenproc

TImageEnProc.PaintMark

TImageEnProc.PaintMark

Declaration

procedure PaintMark(Frequency: Integer; Color: TRGB);

Description

Draw a pixel of the specified Color every Frequency pixels, within the selected area.

Note: If the image PixelFormat is not ie24RGB, it will be converted

Demo

Demo  Demos\ImageEditing\EveryMethod\EveryMethod.dpr

Examples

Also see: Automated Samples
ImageEnView1.Proc.PaintMark( 1, CreateRGB(0, 0, 0) );  // a black marker


// Draw a black pixel every 10 pixels horizontally and vertically
ImageEnView1.Proc.PaintMark( 10, CreateRGB(0, 0, 0) );

  

See Also

CreateRGB
TRGB2TColor
TColor2TRGB