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.

8.10 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

dlpdfpatharray<br />

This method will return a pointer to the first member of the array of ASFixed integers,<br />

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

which is the path.<br />

Appending Line Segments to an Existing Path<br />

The following methods append line segments to an existing path. Each of these<br />

accepts a pointer to a path as the first parameter, <strong>and</strong> may or may not have additional<br />

parameters describing the line segment to be built. These methods will return nothing,<br />

but may raise an exception if the parameters are not properly formed.<br />

dlpdfpathaddline<br />

This method accepts three parameters:<br />

• The first is a pointer to the path.<br />

• The second is the absolute Xposition.<br />

• The third is the absolute Yposition.<br />

A line will be drawn from the current position to the specified new position. If the<br />

current position is the same as the new position, no line segment will be added to the<br />

path, <strong>and</strong> no notice will be given (Optimizing). The current position following this<br />

comm<strong>and</strong> will be the specified position.<br />

dlpdfpathaddliner<br />

This methods accepts two parameters, the coordinates of the destination to draw to:<br />

• The first is the distance from the current Xposition to the specified Xposition.<br />

• The second is the distance from the current Yposition to the specified<br />

Yposition.<br />

A line will be drawn from the current position to the specified new position. If the<br />

distances specified are both zero, no line segment will be added to the path <strong>and</strong> no

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

Saved successfully!

Ooh no, something went wrong!