Skip To Content

INTEGRAL

Object Building Guidelines

Arc

Overview

This object represents an open arc. In INTEGRAL DSL, this is simply a section of a circle or an ellipse.

While constructing the Arc object, an optional shadow may be specified. Also, depending on the pdLinePtr link, arcs can be drawn solid or dashed, while their ends can be styled (flat, rounded, peak).

Designated Rendering Function: pdDrawArc (2)

Tip: A closed arc can be constructed using the Slice object.

pdLinePtr (1015)

Also appears in: Baseline, Library Polyline, Line, Grid, Polyline (also Bezier and B-Spline curve)

Link to the Line Definition (Full) or Line Definition (Standard) object.

This link supplies parameters necessary to render the body of a line. In the context of the Grid object, this link supplies the parameters necessary to render the grid lines.

Properties

pdRadiusHor (1035)   PD_LONG_SIGNED

Also appears in: True Circle/Ellipse, Slice

Horizontal radius in document units. Must be positive.

Sample values:

500 = Horizontal radius of 500 document units
800 = Horizontal radius of 800 document units

pdRadiusVer (1036)   PD_LONG_SIGNED

Also appears in: True Circle/Ellipse, Slice

Vertical radius in document units. Must be positive.

Sample values:

500 = Vertical radius of 500 document units
800 = Vertical radius of 800 document units

pdAngleAlpha (1032)   PD_WORD_UNSIGNED

Also appears in: Text Arc, Rich Text Arc, Slice

Initial (start) angle in degrees. Must be between 0 and 360.

Sample values:

0 = Angle of 0 degrees
90 = Angle of 90 degrees

pdAngleTheta (1037)   PD_WORD_SIGNED

Also appears in: Slice

Length of an arc in degrees. Must be between 0 and 360.

Sample values:

180 = Length of 180 degrees
240 = Length of 240 degrees

Example

▸ demo_program.i