22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DLI</strong> <strong>Reference</strong> <strong>Guide</strong> A.19<br />

dlpdfcontentpieslicen (DLPDFCONTENT<br />

*Content, PDEGraphicState *gState, int PaintOp, ASFixed<br />

X1, ASFixed Y1, ASFixed Radius, ASFixed Angle1, ASFixed<br />

Angle2)<br />

Return Value: void<br />

Description<br />

Parameters<br />

Return Value<br />

This procedure is included as an aid in graph<br />

construction. It will draw a pie slice, centered at<br />

(X1,Y1), at a radius of Radius, from Angle1<br />

to Angle2, clockwise, where the angle is specified<br />

in degrees.<br />

• DLPDFCONTENT *Content: Represents the<br />

content element. These structures are<br />

destroyed when associated with a page or<br />

form, <strong>and</strong> pointers to them should not be<br />

used after that time.<br />

• PDEGraphicState *gState: Contains<br />

definitions of colors to be applied, <strong>and</strong> line<br />

sizes <strong>and</strong> parameters to be used when<br />

drawing a path.<br />

• int PaintOp: A composite of flags which<br />

define how the text will be displayed. It is set<br />

by performing a bitwise OR with the desired<br />

combination of the Adobe PDF Library flag<br />

values kPDEFill, kPDEStroke,<br />

kPDEEoFill <strong>and</strong> kPDEInvisible.<br />

• ASFixed X1<br />

• ASFixed Y1<br />

• ASFixed Radius<br />

• ASFixed Angle1<br />

• ASFixed Angle2<br />

void<br />

Exceptions<br />

Header<br />

Related Methods<br />

dli.h<br />

dlpdfcontentpieslice

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!