User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract.renderbitmap_tobject_tgis_pixels_tpoint_trect_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

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

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract.RenderBitmap | Overloads | Constructors | Fields | Methods | Properties

Render bitmap on a current canvas.

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

Syntax

// Java
public abstract void RenderBitmap(
  TObject _handle,
  int[] _bmp,
  TPoint _size,
  TRect _dst,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
// 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 int[]
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:35

Page Tools