User Tools

Site Tools


api:dk11:delphi:fmx.gisrenderer.tgis_rendererfmx.canvasdrawbitmap_tgis_pixels_tpoint_trect_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_RendererFmx.CanvasDrawBitmap(TGIS_Pixels; TPoint; TRect; TGIS_BitmapFormat; TGIS_BitmapLinesOrder) method

DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CanvasDrawBitmap | Overloads | Constructors | Fields | Methods | Properties

Draw bitmap on the Canvas object.

Syntax

// Delphi
public
  procedure CanvasDrawBitmap(
    const _bmp : TGIS_Pixels;
    const _size : TPoint;
    const _dst : TRect;
    const _format : TGIS_BitmapFormat;
    const _order : TGIS_BitmapLinesOrder
  ); override;
// C++ Builder
public:
  virtual void CanvasDrawBitmap(
    TGIS_Pixels* const _bmp,
    TPoint* const _size,
    TRect* const _dst,
    TGIS_BitmapFormat* const _format,
    TGIS_BitmapLinesOrder* const _order
  );

Parameters

Name Type Description
_bmp TGIS_Pixels array of bitmap pixels
_size TPoint width/height of _bmp (in pixels)
_dst TRect destination rectangle (in pixels); scaling will apply if required
_format TGIS_BitmapFormat pixel format of _bmp array
_order TGIS_BitmapLinesOrder line order of _bmp array
2020/05/07 01:05

Page Tools