User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_rendererabstract.preparebitmapcache_itgis_pixels_itgis_extent_itpoint_integer_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

ITGIS_RendererAbstract.PrepareBitmapCache method

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

Prepare renderer cache for topmost bitmap layers.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public ITGIS_RendererAbstractCache PrepareBitmapCache(
  ITGIS_Pixels _bmp,
  ITGIS_Extent _extent,
  ITPoint _size,
  int _serial,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
' VisualBasic
Public Function PrepareBitmapCache(
  ByVal _bmp As ITGIS_Pixels,
  ByVal _extent As ITGIS_Extent,
  ByVal _size As ITPoint,
  ByVal _serial As Integer,
  ByVal _format As TGIS_BitmapFormat,
  ByVal _order As TGIS_BitmapLinesOrder
) As ITGIS_RendererAbstractCache
// Oxygene
public
  function PrepareBitmapCache(
    _bmp : ITGIS_Pixels;
    _extent : ITGIS_Extent;
    _size : ITPoint;
    _serial : Integer;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  ) : ITGIS_RendererAbstractCache;

Parameters

Name Type Description
_bmp ITGIS_Pixels array of bitmap pixels
_extent ITGIS_Extent extent of _bmp
_size ITPoint width/height of _bmp (in pixels)
_serial int
Integer
serial number of layer.Params; to keep track of layer rendering parameters change
_format TGIS_BitmapFormat pixel format of _bmp array
_order TGIS_BitmapLinesOrder line order of _bmp array

Result

Type Description
ITGIS_RendererAbstractCache returns cached object or nil, if cache is not supported by renderer; time live of the object is maintained by TGIS_ViewerWnd
2021/03/26 18:41

Page Tools