User Tools

Site Tools


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

Table of Contents

TGIS_RendererAbstract.PrepareBitmapCache method

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

Prepare renderer cache for topmost bitmap layers.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public TGIS_RendererAbstractCache PrepareBitmapCache(
  int[] _bmp,
  TGIS_Extent _extent,
  TPoint _size,
  int _serial,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
// Oxygene
public
  function PrepareBitmapCache(
    _bmp : TGIS_Pixels;
    _extent : TGIS_Extent;
    _size : TPoint;
    _serial : Integer;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  ) : TGIS_RendererAbstractCache; virtual;

Parameters

Name Type Description
_bmp int[]
TGIS_Pixels
array of bitmap pixels
_extent TGIS_Extent extent of _bmp
_size TPoint 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
TGIS_RendererAbstractCache returns cached object or nil, if cache is not supported by renderer; time live of the object is maintained by TGIS_ViewerWnd
2021/04/15 01:14

Page Tools