User Tools

Site Tools


Table of Contents

TGIS_Shape.PrepareContourInternal method

DK11 for Delphi | GisLayerVector.TGIS_Shape.PrepareContourInternal | Constructors | Fields | Methods | Properties

Prepare contour bitmap (for internal TGIS_Topology purposes).

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


// Delphi
  procedure PrepareContourInternal(
    const _size : Integer;
    const _outline : Boolean;
    var _pixels : TGIS_Pixels;
    var _scale : Double;
    var _offset : TPoint
// C++ Builder
  void PrepareContourInternal(
    const int _size,
    const bool _outline,
    TGIS_Pixels* &_pixels,
    double &_scale,
    TPoint* &_offset


Name Type Description
_size Integer width and height of bitmap
_outline Boolean if true then contour for polygons will be drawn with outlines (borders)
_pixels TGIS_Pixels newly allocated bitmap
_scale Double shape size in pixels divided by the shape size in map units
_offset TPoint offset of shape within bitmap caused by map placement, margins etc.


This method is for internal use only.

2022/11/16 01:22

Page Tools