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.

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

dlpdftextadvance (DLPDFTEXT *Text,<br />

DLPDFFONT *Font, PDEGraphicState *GState,<br />

PDETextState *TState, ASFixed PointSize,<br />

ASFixed SetWidth, dlpdftext_X XMeaning,<br />

ASFixed Angle, ASFixedPoint *Advance)<br />

Return Value: void<br />

Description<br />

Parameters<br />

Return Value<br />

This method supplies the x <strong>and</strong> y advance for a<br />

string in a DLPDFTEXT area.<br />

• DLPDFTEXT *Text: the text structure to be<br />

acted upon<br />

• DLPDFFONT *Font: The specified font<br />

• PDEGraphicState *GState: Contains<br />

definitions of colors to be applied, <strong>and</strong> line<br />

sizes <strong>and</strong> parameters to be used when<br />

drawing a path<br />

• PDETextState *TState: Current text<br />

state; should not be NULL. A zero-filled<br />

PDETextState parameter is permitted.<br />

• ASFixed PointSize: Point size<br />

• ASFixed SetWidth: Set width<br />

• dlpdftext_X XMeaning:<br />

DLPDFTEXT_X_LEFT or<br />

DLPDFTEXT_X_RIGHT, used to indicate<br />

whether the starting location is the left or<br />

right end (respectively) of the text,<br />

distinguishing a left-to-right line order (e.g.<br />

English) from a right-to-left line order (e.g.<br />

Arabic)<br />

• ASFixed Angle: Angle of flow, in degrees,<br />

as an ASFixed counterclockwise angle<br />

• ASFixedPoint *Advance: The returned x<br />

<strong>and</strong> y position change after evaluation of the<br />

text<br />

void<br />

Exceptions

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

Saved successfully!

Ooh no, something went wrong!