User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_rendererabstract.canvasdrawbitmap_tgis_pixels_tpoint_trect_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_RendererAbstract.CanvasDrawBitmap(TGIS_Pixels, TPoint, TRect, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) method

DK11 for Python | tatukgis.pdk.TGIS_RendererAbstract.CanvasDrawBitmap | Overloads | Constructors | Methods | Properties

Draw bitmap on the Canvas object.

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

Syntax

# Python
def CanvasDrawBitmap(
  self,
  _bmp: TGIS_Pixels,
  _size: TPoint,
  _dst: TRect,
  _format: TGIS_BitmapFormat,
  _order: TGIS_BitmapLinesOrder
) -> None: 

Parameters

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

2023/08/09 01:58

Page Tools