User Tools

Site Tools


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

Table of Contents

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

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

Draw bitmap on the Canvas object.

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

Syntax

// Java
public abstract void CanvasDrawBitmap(
  int[] _bmp,
  TPoint _size,
  TRect _dst,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
// Oxygene
public
  procedure CanvasDrawBitmap(
    _bmp : TGIS_Pixels;
    _size : TPoint;
    _dst : TRect;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  ); virtual; abstract;

Parameters

Name Type Description
_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

References

2024/12/20 22:26

Page Tools