User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_rendererabstract.renderbitmap_2_itbaseobject_itgis_pixels_itpoint_itrect_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

ITGIS_RendererAbstract.RenderBitmap_2 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_RendererAbstract.RenderBitmap_2 | Methods | Properties

Render bitmap on a current canvas.

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

Syntax

// C#
public void RenderBitmap_2(
  ITBaseObject _handle,
  ITGIS_Pixels _bmp,
  ITPoint _size,
  ITRect _dst,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
' VisualBasic
Public Sub RenderBitmap_2(
  ByVal _handle As ITBaseObject,
  ByVal _bmp As ITGIS_Pixels,
  ByVal _size As ITPoint,
  ByVal _dst As ITRect,
  ByVal _format As TGIS_BitmapFormat,
  ByVal _order As TGIS_BitmapLinesOrder
)
// Oxygene
public
  procedure RenderBitmap_2(
    _handle : ITBaseObject;
    _bmp : ITGIS_Pixels;
    _size : ITPoint;
    _dst : ITRect;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  );

Parameters

Name Type Description
_handle ITBaseObject handle to the context obtained by RenderBitmapBegin; cam be nil for non progressive display
_bmp ITGIS_Pixels array of bitmap pixels
_size ITPoint width/height of _bmp (in pixels)
_dst ITRect 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:09

Page Tools