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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Ctrl1X/<br />

Ctrl1Y<br />

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

EndX/<br />

EndY<br />

StartX/<br />

StartY<br />

Ctrl2X/<br />

Ctrl2Y<br />

Technical Notes<br />

1 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. At completion of this<br />

operation, the current position will be the end position of the line. If the end<br />

position specified is identical to the current position, no segment will be appended<br />

<strong>and</strong> no notice will be given (optimization).<br />

2 All Bézier curves consist of four points. This method (as well as<br />

dlpdfpathaddcurver, dlpdfpathaddcurvev <strong>and</strong> dlpdfpathaddcurvey)<br />

uses current position as the starting point of the curve. The first two parameters of<br />

this method are the position of Control Point1, the second two parameters are the<br />

position of Control Point 2, <strong>and</strong> the last two parameters are the position of the<br />

end point of the curve.<br />

3 If no starting point is specified, the method will raise an exception<br />

(genErrBadParm).

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

Saved successfully!

Ooh no, something went wrong!