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.

Working with Content 8.17<br />

operation. If the end position specified is identical the current position, no segment<br />

will be appended, <strong>and</strong> no notice will be given (Optimization).<br />

dlpdfpathaddcurvey<br />

This method accepts five parameters:<br />

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

• The second <strong>and</strong> third are the X <strong>and</strong> Y positions of a point which will be used for<br />

Control Point 1.<br />

• The fourth <strong>and</strong> fifth are the X <strong>and</strong> Y positions of the end point of the curve.<br />

A smooth curve (a cubic Bézier) will be drawn from the current position to the end<br />

position, under direction of the two control points. Control Point 2 is the end<br />

position. The current position will be the end position of the line at completion of this<br />

operation. If the end position specified is identical to the current position, no segment<br />

will be appended, <strong>and</strong> no notice will be given (Optimization).<br />

dlpdfpathaddrect<br />

This method accepts five parameters:<br />

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

• The second <strong>and</strong> third are the X <strong>and</strong> Y positions of a point which will be one corner<br />

of the box.<br />

• The fourth will be the width of the box.<br />

• The fifth will be the depth of the box.<br />

If the specified position is not the current position, a MoveTo to the specified position<br />

will be made. A rectangle will be added to the path, starting at the specified position

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

Saved successfully!

Ooh no, something went wrong!