DK11 for Delphi | VCL.GisGdiPlus.TGIS_GdipGraphics.DrawImage | Overloads | Constructors | Fields | Methods | Properties
Draw an image.
// Delphi public procedure DrawImage( _image : TGIS_GdipImage; _destRect : TRect; _srcX : Integer; _srcY : Integer; _srcWidth : Integer; _srcHeight : Integer; _imageAttr : TGIS_GdipImageAttributes = nil ); overload;
// C++ Builder public: void DrawImage( TGIS_GdipImage* _image, TRect* _destRect, int _srcX, int _srcY, int _srcWidth, int _srcHeight, TGIS_GdipImageAttributes* _imageAttr ) /* overload */;
Name | Type | Description |
---|---|---|
_image | TGIS_GdipImage | image to draw |
_destRect | TRect | location and size of the drawn image |
_srcX | Integer | x coordinate of the upper-left corner of the portion of the source image |
_srcY | Integer | y coordinate of the upper-left corner of the portion of the source image |
_srcWidth | Integer | width of the portion of the source image |
_srcHeight | Integer | height of the portion of the source image |
_imageAttr | TGIS_GdipImageAttributes | image attributes for the image |