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.

Working with Content 8.5<br />

dlpdfcontenttextwidth<br />

This procedure is included as an aid to composition, <strong>and</strong> to transforming widths,<br />

particularly word space widths, into PDF units. The procedure will return the width<br />

(in points) of the specified text.<br />

Its calling parameters include:<br />

• the specified Font<br />

• the text to be measured<br />

• its current SetWidth (horizontal point size)<br />

• Current Text State, a pointer to a PDETextState structure, which may be<br />

NULL. It can also be declared memset() to all 0 values, <strong>and</strong> used right away; no<br />

further initialization is required, nor is it provided for.<br />

dlpdfcontentwidetextwidth<br />

Same as dlpdfcontenttextwidth, but permits multi-byte (Unicode) text.<br />

Line Drawing<br />

These calls are used to draw lines within an area, <strong>and</strong> to fill or stroke those lines.<br />

Common to all of these calls is the PDEGraphicState, which defines line drawing<br />

parameters (Line Width, Join, Miter, etc.) <strong>and</strong> the Paint Operator, which

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

Saved successfully!

Ooh no, something went wrong!