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.

10.6. <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

dlpdfcontentcircle<br />

This method will draw a circle whose center is the first two parameters <strong>and</strong> whose<br />

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

radius is the third parameter.<br />

dlpdfcontentellipse<br />

This method will draw an ellipse whose center is the first two parameters, the<br />

ASFixed value of the X Radius is the third parameter, <strong>and</strong> the ASFixed value of<br />

the Y Radius is the fourth parameter.<br />

dlpdfcontentpath<br />

This method will draw an arbitrary path. The path is an array of ASFixed values,<br />

constructed according to the PDF rules for path construction. These can be found in<br />

the Adobe PDF Library API <strong>Reference</strong> Manual under PDEPathAddSegment.<br />

The path may have been constructed via PDEPath operators, or constructed<br />

manually.<br />

NOTE: If constructed via PDEPath, then PDEPathGetData must be used to<br />

obtain the array <strong>and</strong> array size used in this call.<br />

The first parameter is a pointer to an array of ASFixed; the second is a count of the<br />

number of entries in that array.<br />

Path Drawing Sample<br />

In an accompanying codesamples folder you should find a sample file entitled<br />

line drawing using draw fixed structure.txt. This sample source file<br />

will create a document with one page, containing a square whose lower left corner is<br />

one inch above the bottom <strong>and</strong> one inch right of the left edge of the page. The square<br />

will be red, edged in black. From outer edge to outer edge, the square will be 74 points<br />

wide <strong>and</strong> tall.

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

Saved successfully!

Ooh no, something went wrong!