Skip To Content

INTEGRAL

Object Building Guidelines

Slice

Overview

This object represents a slice. In INTEGRAL DSL, a slice is a piece of a circle or an ellipse. Slices are frequently used to draw pie charts in financial charts and presentations.

While constructing the Slice object, an optional shadow and/or outline may be specified.

Designated Rendering Function: pdDrawSlice (8)

Note: Although pdBodyPtr is a key link, it is not mandatory. This means it is possible to construct a slice that has no body, only an outline and/or a shadow.

pdBodyPtr (1013)

Also appears in: Typography (For Outline Fonts), Row Boundary, Typographic Frame, Library Shape, Rectangle, Circle/Ellipse, True Circle/Ellipse, Pattern, Grid, Custom Shape or Polygon, Gradient, Gradient (As Fast Rectangle)

Link to the Surface Definition object.

This link supplies style attributes for the body of an object. Style attributes include color, transparency, pattern fills, special effects (e.g. blur, emboss, pattern fill) etc.

pdOutlinePtr (1014)

Also appears in: Typography (For Outline Fonts), Row Boundary, Typographic Frame, Library Shape, Rectangle, Circle/Ellipse, True Circle/Ellipse, Grid, Custom Shape or Polygon

Link to the Outline Definition object.

This link supplies parameters necessary to render the outline of an object.

Properties

pdRadiusHor (1035)   PD_LONG_SIGNED

Also appears in: True Circle/Ellipse, Arc

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, Arc

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, Arc

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: Arc

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