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.

Displaying Line Drawings 10.9.<br />

dlpdfpathaddliner<br />

This method also draws a line segment, drawn from the current position to a new<br />

position, specified by X <strong>and</strong> Y displacement as ASFixed values. If there is no current<br />

position established, this method will raise an exception (genErrBadParm). The<br />

current position following this method will reflect the application of the X <strong>and</strong> Y<br />

displacements.<br />

dlpdfpathaddarc<br />

This method will append an arc segment to the current path. The parameters specify<br />

an (X,Y) position, in ASFixed values, of the center of the arc, a Radius as an<br />

ASFixed value, <strong>and</strong> two angles in degrees as ASFixed angles.<br />

If there is a current position, a line segment will be added from the current position to<br />

the start angle of the arc. If there is no current position, a move to the start angle of<br />

the arc will be appended to the path. The arc will be drawn counter-clockwise from<br />

the start angle to the end angle. If the angles are coincident, a full circle will be drawn.<br />

The angles will be interpreted such that zero degrees is pointing right.<br />

After completion, the position of the end of the arc will be the current position.<br />

dlpdfpathaddarcn<br />

This method is identical to dlpdfpathaddarc, except that the arc will be drawn<br />

clockwise.<br />

dlpdfpathaddarcto<br />

This method will draw a straight line segment from the current position toward the X<br />

<strong>and</strong> Y coordinates specified by the first two parameters. This line will terminate at the<br />

intersection of an arc connecting this line to a second line, drawn from the first

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

Saved successfully!

Ooh no, something went wrong!