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.

10.14. <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

dlpdfpathaddrect<br />

This method will draw a rectangle. The first two parameters specify the (X,Y) position<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

of a corner, <strong>and</strong> the next two specify the width <strong>and</strong> depth of the rectangle. A<br />

positive width will draw to the right, <strong>and</strong> a positive depth will draw upward.<br />

Current position need not be set before this method is called, <strong>and</strong> current position will<br />

be set to the specified (X,Y) position after it is used.<br />

dlpdfpathaddclose<br />

This method will append a straight line segment from the current position to the start<br />

of the first element in the path. If a current position is not set, it will have no effect.<br />

Following this method, the current position will be unset.<br />

NOTE: This does not need to be the last segment of a path. Additional, disjoint<br />

segments may be set.<br />

dlpdfcontentdrawpath<br />

This method is used to add a drawn path to content.<br />

• Its first element is the DLPDFCONTENT onto which this path is to be drawn.<br />

• Its second parameter is the DLPDFPATH structure to be drawn.<br />

• Its third parameter is a pointer to a PDEGraphicState structure. This structure<br />

contains definitions of colors to be applied, <strong>and</strong> line sizes <strong>and</strong> parameters to be used<br />

when drawing a path.

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

Saved successfully!

Ooh no, something went wrong!