API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_PATH > IG_PDE_path_add_segment |
Adds a segment to a path.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_path_add_segment( HIG_PDE_PATH hPath, LONG nSegType, AT_PDF_FIXED x1, AT_PDF_FIXED y1, AT_PDF_FIXED x2, AT_PDF_FIXED y2, AT_PDF_FIXED x3, AT_PDF_FIXED y3 ); |
Name | Type | Description |
---|---|---|
hPath | HIG_PDE_PATH | The path to which a segment is added. |
nSegType | LONG | A enumIGPDEPathElementType value indicating the type of path to add. |
x1 | AT_PDF_FIXED | x-coordinate of first point. |
y1 | AT_PDF_FIXED | y-coordinate of first point. |
x2 | AT_PDF_FIXED | x-coordinate of second point. |
y2 | AT_PDF_FIXED | y-coordinate of second point. |
x3 | AT_PDF_FIXED | x-coordinate of third point. |
y3 | AT_PDF_FIXED | y-coordinate of third point. |
Error count.
This function does not process image pixels.
The number of AT_PDF_FIXED values used depends upon nSegType: