pdPolyArrI pdPolyArrX_32 pdPolyArrY_32
____________________________________________________________
New Closed Contour 16 X Y
____________________________________________________________
New Open Contour 17 X Y
____________________________________________________________
Line 20 X Y
____________________________________________________________
Bezier Curve 24 X1 Y1
n X2 Y2
0 X3 Y3
____________________________________________________________
Quadratic B-Spline Curve 25 X1 Y1
n X2 Y2
____________________________________________________________
n = suggested number of segments; zero means auto-calculation
Also appears in: Baseline, Library Polyline, Line, Arc, Grid
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.
Also appears in: Typography (For Outline Fonts), Baseline, Row Boundary, Typographic Frame, Library Polyline, Library Shape, Line, Rectangle, Circle/Ellipse, True Circle/Ellipse, Slice, Arc, Grid, Custom Shape or Polygon
Link to the Shadow Definition object.
Used to render the shadow of a line, shape or some other object.
Supported Compression Methods: 012, 015
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
Instructions for PolyArrX and PolyArrY (variable length, 1 byte per instruction).
pdPolyArrI is an array containing instructions that describe the corresponding pair of coordinates in the pdPolyArrX_... and pdPolyArrY_... arrays. Possible values for pdPolyArrI are:
A. Standard segment construction instructions:
D-Type Grayscale Rasterizers:
16 = New closed contour
17 = New open contour
20 = Line
24 = Bezier curve. Must be followed by n and 0 (see below).
25 = Quadratic B-Spline curve. Must be followed by n (see below).
D-Type Direct Color RGBA Rasterizers and D-Type Shading Rasterizers extend these instructions:
16 = New closed RGBT contour (the next 4-byte RGBT color value is read from pdPolyArrC)
17 = New open RGBT contour (the next 4-byte RGBT color value is read from pdPolyArrC)
20 = Line (the next 4-byte RGBT color value is unchanged).
24 = Bezier curve (the next 4-byte RGBT color value is unchanged). Must be followed by n and 0 (see below).
25 = Quadratic B-Spline curve (the next 4-byte RGBT color value is unchanged). Must be followed by n (see below).
40 = RGBT Line (the next 4-byte RGBT color value is read from pdPolyArrC)
44 = RGBT Bezier curve (the next 4-byte RGBT color value is read from pdPolyArrC). Must be followed by n and 0 (see below).
45 = RGBT Quadratic B-Spline curve (the next 4-byte RGBT color value is read from pdPolyArrC). Must be followed by n (see below).
B. Instructions that can only follow 24 or 25:
n = A positive number or zero. Used only when the preceding instruction is 24 (Bezier curve) or 25 (Quadratic B-Spline curve). A positive number represents the suggested number of line segments that the curve will be approximated with. Zero means that the rendering engine should automatically calculate the optimum number of line segments when rendering the curve.
0 = Reserved. Used only when the first instruction in a segment is 24.
C. Special "one byte does it all" instructions:
254 = Open Polyline/Polygon - All coordinates in the corresponding pdPolyArrX_... and pdPolyArrY_... arrays are interpreted as Polyline/Polygon vertices connected using straight line segments. There can be no curved segments in this case. As such, no other instructions in pdPolyArrI are needed. Polylines constructed using this method are not automatically closed.
255 = Closed Polyline/Polygon - All coordinates in the corresponding pdPolyArrX_... and pdPolyArrY_... arrays are interpreted as Polyline/Polygon vertices connected using straight line segments. There can be no curved segments in this case. As such, no other instructions in pdPolyArrI are needed. Polylines constructed using this method are automatically closed.
The instruction 254 and 255 are special. Only one of them can be used per single Polyline/Polygon. When specified, this instruction must be the only instruction in the pdPolyArrI array. In other words, pdPolyArrI must be a single element array, containing only the instruction 254 or 255.
Sample values:
"16, 20, 20, 20"
"16, 20, 25, 0, 20"
"16, 20, 20, 24, 0, 0, 20, 25, 10, 20, 20"
"254"
"255"
Supported Compression Methods: 000
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing X coordinates of segment's control points (variable length, 4 bytes per coordinate).
Sample values:
"0, 400, 300, 200"
"100, 200, -100, -200, -250"
"50, 100, 120, 80, 120, 95, 130, 40, 80, 100, 190"
Supported Compression Methods: 002
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing X coordinates of segment's control points (variable length, 3 bytes per coordinate).
Sample values:
"0, 400, 300, 200"
"100, 200, -100, -200, -250"
"50, 100, 120, 80, 120, 95, 130, 40, 80, 100, 190"
Supported Compression Methods: 004
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing X coordinates of segment's control points (variable length, 2 bytes per coordinate).
Sample values:
"0, 400, 300, 200"
"100, 200, -100, -200, -250"
"50, 100, 120, 80, 120, 95, 130, 40, 80, 100, 190"
Supported Compression Methods: 006
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing X coordinates of segment's control points (variable length, 1 byte per coordinate).
Sample values:
"0, 40, 30, 20"
"10, 20, -10, -20, -25"
"5, 10, 12, 8, 12, 9, 13, 4, 8, 10, 19"
Supported Compression Methods: 000
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing Y coordinates of segment's control points (variable length, 4 bytes per coordinate).
Sample values:
"0, 100, 350, 200"
"200, 200, -200, -200, 100"
"-50, -90, -20, -80, -120, 10, 30, 20, -20, 10, 50"
Supported Compression Methods: 002
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing Y coordinates of segment's control points (variable length, 3 bytes per coordinate).
Sample values:
"0, 100, 350, 200"
"200, 200, -200, -200, 100"
"-50, -90, -20, -80, -120, 10, 30, 20, -20, 10, 50"
Supported Compression Methods: 004
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing Y coordinates of segment's control points (variable length, 2 bytes per coordinate).
Sample values:
"0, 100, 350, 200"
"200, 200, -200, -200, 100"
"-50, -90, -20, -80, -120, 10, 30, 20, -20, 10, 50"
Supported Compression Methods: 006
Also appears in: Custom Shape or Polygon, Text Path, Rich Text Path
An array containing Y coordinates of segment's control points (variable length, 1 byte per coordinate).
Sample values:
"0, 10, 35, 20"
"20, 20, -20, -20, 10"
"-5, -9, -2, -8, -12, 1, 3, 2, -2, 1, 5"
C/C++
INTEGRAL DSL