User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.getbitmapdata_tgis_extent_tgis_pixels_integer_integer

Table of Contents

TGIS_LayerPixel.getBitmapData method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.getBitmapData | Constructors | Fields | Methods | Properties | Events

Fills provided _bitmap array with values defined by _extent. If the current layer does not fully cover the _extent then values outside the layer scope should be left untouched.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function getBitmapData(
    const _extent : TGIS_Extent;
    const _bitmap : TGIS_Pixels;
    const _width : Integer;
    const _height : Integer
  ) : Boolean; virtual;
// C++ Builder
protected:
  virtual bool getBitmapData(
    TGIS_Extent* const _extent,
    TGIS_Pixels* const _bitmap,
    const int _width,
    const int _height
  );

Parameters

Name Type Description
_extent TGIS_Extent extent of the _bitmap
_bitmap TGIS_Pixels allocated bitmap(with/height ratio of the _bitmap should be the same as width/height ration of the _extent)
_width Integer width of needed area in pixels
_height Integer height of needed area in pixels

Result

Type Description
Boolean True if success; False if anything is still pending

Remarks

Function provide "raw" data - before coordinate system applied.

2020/05/07 01:08

Page Tools