User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.renderbitmap_tobject_tgis_pixels_tpoint_trect_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_RendererAbstract.RenderBitmap(TObject; TGIS_Pixels; TPoint; TRect; TGIS_BitmapFormat; TGIS_BitmapLinesOrder) method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.RenderBitmap | Overloads | Constructors | Fields | Methods | Properties

Render bitmap on a current canvas.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  procedure RenderBitmap(
    const _handle : TObject;
    const _bmp : TGIS_Pixels;
    const _size : TPoint;
    const _dst : TRect;
    const _format : TGIS_BitmapFormat;
    const _order : TGIS_BitmapLinesOrder
  ); overload; virtual; abstract;
// C++ Builder
public:
  virtual void RenderBitmap(
    TObject* const _handle,
    TGIS_Pixels* const _bmp,
    TPoint* const _size,
    TRect* const _dst,
    TGIS_BitmapFormat* const _format,
    TGIS_BitmapLinesOrder* const _order
  ) = 0 /* overload */;

Parameters

Name Type Description
_handle TObject handle to the context obtained by RenderBitmapBegin; cam be nil for non progressive display
_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

Remarks

Must be paired with RenderBitmapBegin

2022/11/30 19:18

Page Tools