User Tools

Site Tools


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

Table of Contents

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

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

Draw bitmap on the Canvas object.

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

Syntax

// C#
public virtual abstract void CanvasDrawBitmap(
  Int32[] _bmp,
  TPoint _size,
  TRect _dst,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
' VisualBasic
Public Overridable MustOverride Sub CanvasDrawBitmap(
  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 CanvasDrawBitmap(
    _bmp : TGIS_Pixels;
    _size : TPoint;
    _dst : TRect;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  ); virtual; abstract;

Parameters

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

References

2022/11/30 19:26

Page Tools