User Tools

Site Tools


api:dk11:delphi:vcl.gisgdiplus.tgis_gdipgraphics.drawimage_tgis_gdipimage_trect_integer_integer_integer_integer_tgis_gdipimageattributes

Table of Contents

TGIS_GdipGraphics.DrawImage(TGIS_GdipImage; TRect; Integer; Integer; Integer; Integer; TGIS_GdipImageAttributes) method

Syntax

// 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 */;

Parameters

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

References

2017/09/04 11:18