User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvasdrawpie_double_double_integer_integer_integer

Table of Contents

TGIS_RendererAbstract.CanvasDrawPie method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.CanvasDrawPie | Fields | Methods | Properties

Draw a pie on the Canvas object.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure CanvasDrawPie(
    const _angle_0 : Double;
    const _angle_1 : Double;
    const _radius : Integer;
    const _origin_x : Integer;
    const _origin_y : Integer
  ); virtual; abstract;
// C++ Builder
public:
  virtual void CanvasDrawPie(
    const double _angle_0,
    const double _angle_1,
    const int _radius,
    const int _origin_x,
    const int _origin_y
  ) = 0;

Parameters

Name Type Description
_angle_0 Double starting angle clockwise from the x-axis to the first side of the pipe (in radians)
_angle_1 Double ending angle from the first side to the second side of the pipe (in radians)
_radius Integer pie radius (in radians)
_origin_x Integer x origin point of pie center (in pixels)
_origin_y Integer y origin point of pie center (in pixels)
2018/02/17 00:10