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.

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

vertical radii are passed to this function, it behaves identically to<br />

dlpdfpathaddarc.<br />

• The sixth is the start angle (where zero is directly to the right of center) where<br />

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

the arc is to begin.<br />

• The seventh is the end angle where the arc is to end. If the current position does<br />

not coincide with the position defined by X1, Y1, Radius <strong>and</strong> Start Angle, then<br />

a straight line segment will be added from the current position to this point. A<br />

smooth curve of the specified radius will be drawn from that specified point<br />

counter-clockwise to the point specified by X1, Y1, Radius <strong>and</strong> End Angle. The<br />

current position will be set to that ending point.<br />

If the starting <strong>and</strong> ending points specify the same angle, a full circle will be drawn.<br />

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

dlpdfpathaddelliparcn<br />

This method accepts seven parameters:<br />

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

• The second is an Xposition of the arc center point.<br />

• The third is the Yposition of the arc center point.<br />

• The fourth is the horizontal radius (HRad) of the arc.<br />

• The fifth is the vertical radius (VRad) of the arc. The HRad <strong>and</strong> VRad support<br />

drawing elliptical arc segments.<br />

• The sixth is the start angle (where zero is directly to the right of center) where<br />

the arc is to begin.<br />

• The seventh is the end angle where the arc is to end. If the current position does<br />

not coincide with the position defined by X1, Y1, Radius <strong>and</strong> Start Angle, then<br />

a straight line segment will be added from the current position to this point.<br />

A smooth curve of the specified radius will be drawn from that specified point<br />

clockwise to the point specified by X1, Y1, Radius <strong>and</strong> End Angle. The current<br />

position will be set to that ending point. If the starting <strong>and</strong> ending points specify the

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

Saved successfully!

Ooh no, something went wrong!