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.6 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

dlpdfcontentpath<br />

This procedure will mark a path within the content. The path is specified as an array of ASFixed values,<br />

pointed to by Path, with PathLen entries in the array. This is in all ways the same path as would be used<br />

by the Adobe PDF Library path operators. Such a path may be created manually or by use of the Edit<br />

Layer of the Adobe PDF Library. If created with the Adobe PDF Library, the pointer returned by<br />

PDEPathGetData is sufficient for this call.<br />

NOTE: The length returned by that call is the number of entries in the list, not the<br />

size in bytes of the list.<br />

dlpdfcontentrect<br />

This procedure marks a rectangle in the content. It will be located such that its lower left h<strong>and</strong> corner is at<br />

(X,Y); it will be Width wide, <strong>and</strong> Height high. Width <strong>and</strong> Height may not be specified as zero but may<br />

be specified as negative numbers, which results in flopping the rectangle.<br />

dlpdfcontentline<br />

This procedure will mark a line in the content. The line will extend from (X1,Y1) to (X2,Y2).<br />

dlpdfcontentarc<br />

This procedure is included as an aid in transitioning from PostScript to PDF. It will draw an arc centered<br />

at (X1, Y1), at a radius of Radius, from Angle1 to Angle2, counter-clockwise, where the angles are<br />

considered to be in degrees.<br />

dlpdfcontentarcn<br />

This procedure is included as an aid in transitioning from PostScript to PDF. It will draw an arc centered<br />

at (X1, Y1), at a radius of Radius, from Angle1 to Angle2, clockwise, where the angles are considered<br />

to be in degrees.<br />

dlpdfcontentarcto<br />

This is a convenience method to mimic the PostScript ArcTo operator. It will locate the intersections of<br />

the line (X1,Y1)->(Xint, Yint), <strong>and</strong> (X2,Y2)->(Xint, Yint), <strong>and</strong> draw an arc of the specified radius<br />

tangent to those two lines. The line segment from (X1,Y1) to the arc will be drawn. Unlike the PostScript<br />

ArcTo operator, the segment from the tangent to (X2,Y2) will also be drawn.

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

Saved successfully!

Ooh no, something went wrong!