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.

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

dlpdfpathaddelliparc (DLPDFPATH *Path, ASFixed CentX,<br />

ASFixed CentY, ASFixed HRad, ASFixed VRad, ASFixed T1, ASFixed T2)<br />

Return Value: void<br />

Description<br />

Parameters<br />

Return Value<br />

Appends an arc segment to the current path. This method<br />

accepts seven parameters.<br />

• DLPDFPATH *Path is the pointer to the path.<br />

• ASFixed CentX is the X-axis position of the arc center<br />

point.<br />

• ASFixed CentY is the Y-axis position of the arc center<br />

point.<br />

• ASFixed HRad is the horizontal radius of the ellipse<br />

defining an arc segment.<br />

• ASFixed VRad is the vertical radius of the same ellipse. The<br />

HRad <strong>and</strong> VRad functions support creating arc segments<br />

from an elliptical shape, as opposed to the circular shape<br />

described in dlpdfpathaddarc, although if the same<br />

value is used for both horizontal <strong>and</strong> vertical radii, it behaves<br />

identically to dlpdfpathaddarc.<br />

• ASFixed T1 is the beginning arc angle (where zero is<br />

directly to the right of center).<br />

• ASFixed T2 is the ending arc angle.<br />

void<br />

Exceptions<br />

Header<br />

Related Methods<br />

dli.h<br />

dlpdfpathaddarc,<br />

dlpdfpathaddarcn,<br />

dlpdfpatthaddarcto,<br />

dlpdfpathadddelliparcn,<br />

dlpdfpathaddelliparcto<br />

Availability<br />

Technical Notes<br />

1 If the current position does not coincide with the position defined by<br />

(CentX,CentY,HRad,VRad,StartAngle), then a straight line segment will be added from the<br />

current position to get there. A smooth curve of the specified radius will be drawn from that specified<br />

point counter-clockwise to the point specified by (CentX,CentY,HRad,VRad,EndAngle). The current<br />

position will be set to that ending point. If the starting <strong>and</strong> ending points specify the same angle, a full<br />

circle will be drawn.<br />

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

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

Saved successfully!

Ooh no, something went wrong!