User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.preparecontourinternal_integer_boolean_tgis_pixels_double_tpoint

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.

Syntax

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

Parameters

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.

Remarks

This method is for internal use only.

2022/11/16 01:22

Page Tools