User Tools

Site Tools


Table of Contents

TGIS_RendererAbstract.CanvasDrawPie method

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

Draw a pie on the Canvas object.

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


// Delphi
  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
  virtual void CanvasDrawPie(
    const double _angle_0,
    const double _angle_1,
    const int _radius,
    const int _origin_x,
    const int _origin_y
  ) = 0;


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)
2022/11/30 19:18

Page Tools