ImageEn, unit ievect

TImageEnVect.DrawOneObjectToBitmap

TImageEnVect.DrawOneObjectToBitmap


Declaration

procedure DrawOneObjectToBitmap(hobj: integer; target: TIEBitmap; Antialias: boolean = true; AdaptBitmapPixelFormat: boolean = true);


Description

DrawOneObjectToBitmap draws a vectorial object on the specified TIEBitmap object (target).
Antialias parameter controls the anti-alias filter.
If AdaptBitmapPixelFormat is true (default) the image will be converted to 24 bit RGB before drawing objects.

IEV_PREVIOUS_INSERTED_OBJECT can be specified for hobj to refer to the object that was last inserted.



Example

ImageEnVect.DrawObjectsToBitmap( ImageEnView2.IEBitmap, true );
ImageEnView2.Update;