User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_rendererabstract.renderbitmap_tobject_tgis_pixels_tpoint_trect_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_RendererAbstract.RenderBitmap(TObject, Int32[], TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) method

DK11 for .NET | TatukGIS.NDK.TGIS_RendererAbstract.RenderBitmap | Overloads | Constructors | Fields | Methods | Properties

Render bitmap on a current canvas.

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

Syntax

// C#
public virtual abstract void RenderBitmap(
  TObject _handle,
  Int32[] _bmp,
  TPoint _size,
  TRect _dst,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
' VisualBasic
Public Overridable MustOverride Sub RenderBitmap(
  ByVal _handle As TObject,
  ByVal _bmp As Int32(),
  ByVal _size As TPoint,
  ByVal _dst As TRect,
  ByVal _format As TGIS_BitmapFormat,
  ByVal _order As TGIS_BitmapLinesOrder
)
// Oxygene
public
  procedure RenderBitmap(
    _handle : TObject;
    _bmp : TGIS_Pixels;
    _size : TPoint;
    _dst : TRect;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  ); virtual; abstract;

Parameters

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

Page Tools