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.

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

dlpdfcontenttranslate<br />

This procedure will move all of the contents of a content structure by the specified<br />

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

amounts, which are assumed to be in points. Positive values move up or right,<br />

depending on the axis; negative values move down <strong>and</strong> left.<br />

Text Placement<br />

These calls are used to position text within a container.<br />

dlpdfcontenttext<br />

This procedure adds a NULL-terminated string of text to the content. It will be placed<br />

such that the baseline of the left edge of the first character aligns with the given<br />

position (XPos,YPos) in points. The baseline should also proceed at the angle<br />

specified in Rotate, where zero is to the right <strong>and</strong> positive numbers produce<br />

counter-clockwise rotation in degrees. It will be set in the specified font at the<br />

specified PointSize <strong>and</strong> SetWidth. The parameters of PDEGraphicState <strong>and</strong><br />

PDETextState will be observed.<br />

dlpdfcontentwidetext<br />

Same as dlpdfcontenttext, but permits Unicode <strong>and</strong> MultiByte text.<br />

Text Width Evaluation<br />

On occasion, it is necessary to know the width of text. The following calls will<br />

accomplish that.

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

Saved successfully!

Ooh no, something went wrong!