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.

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

dlpdfcontentpieslice (DLPDFCONTENT *Content,<br />

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

Y1, ASFixed Radius, ASFixed Angle1, ASFixed Angle2)<br />

Return Value: void<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<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, counter-clockwise, where the angles<br />

are specified 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 />

Availability<br />

dli.h<br />

dlpdfcontentpieslicen<br />

All <strong>DLI</strong>-supported platforms.

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

Saved successfully!

Ooh no, something went wrong!