User Tools

Site Tools


api:dk11:delphi:gislayerwms.tgis_layerwms.getbitmap_tgis_extent_tgis_pixels_integer_integer

Table of Contents

TGIS_LayerWMS.GetBitmap method

DK11 for Delphi | GisLayerWMS.TGIS_LayerWMS.GetBitmap | Constructors | Fields | Methods | Properties

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

Overrides TGIS_LayerPixel.GetBitmap.

// Delphi
public
  function GetBitmap(
    const _extent : TGIS_Extent;
    const _bitmap : TGIS_Pixels;
    const _width : Integer;
    const _height : Integer
  ) : Boolean; override;
// C++ Builder
public:
  virtual bool GetBitmap(
    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 array (width/height ratio of the _bitmap should be the same as width/height ration of the _extent)
_width Integer width of the _bitmap
_height Integer height of the _bitmap

Result

Type Description
Boolean True if success

Remarks

Function provide data with coordinate system applied.

2020/05/07 01:09

Page Tools