User Tools

Site Tools


Table of Contents

TGIS_RendererAbstract.PrepareBitmapCache method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.PrepareBitmapCache | Constructors | Fields | Methods | Properties

Prepare renderer cache for topmost bitmap layers.

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


// Delphi
  function PrepareBitmapCache(
    const _bmp : TGIS_Pixels;
    const _extent : TGIS_Extent;
    const _size : TPoint;
    const _serial : Integer;
    const _format : TGIS_BitmapFormat;
    const _order : TGIS_BitmapLinesOrder
  ) : TGIS_RendererAbstractCache; virtual;
// C++ Builder
  virtual TGIS_RendererAbstractCache* PrepareBitmapCache(
    TGIS_Pixels* const _bmp,
    TGIS_Extent* const _extent,
    TPoint* const _size,
    const int _serial,
    TGIS_BitmapFormat* const _format,
    TGIS_BitmapLinesOrder* const _order


Name Type Description
_bmp TGIS_Pixels array of bitmap pixels
_extent TGIS_Extent extent of _bmp
_size TPoint width/height of _bmp (in pixels)
_serial 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


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
2022/11/30 19:18

Page Tools