Reference

ScriptPlace(3w)

NAME

ScriptPlace (USP10.@)

SYNOPSIS

HRESULT ScriptPlace
(
HDC hdc,
SCRIPT_CACHE* psc,
const WORD* pwGlyphs,
int cGlyphs,
const SCRIPT_VISATTR* psva,
SCRIPT_ANALYSIS* psa,
int* piAdvance,
GOFFSET* pGoffset,
ABC* pABC
)

DESCRIPTION

Produce advance widths for a run.

PARAMS

hdc [In] Device context.

psc [In/Out] Opaque pointer to a script cache.

pwGlyphs [In] Array of glyphs.

cGlyphs [In] Number of glyphs in pwGlyphs.

psva [In] Array of visual attributes.

psa [In/Out] String analysis.

piAdvance [Out] Array of advance widths.

pGoffset [Out] Glyph offsets.

pABC [Out] Combined ABC width.

RETURNS

Success: S_OK

Failure: Non-zero HRESULT value.

IMPLEMENTATION

Declared in "usp10.h".

Implemented in "dlls/usp10/usp10.c".

Debug channel "uniscribe".

History