Reference

ScriptShape(3w)

NAME

ScriptShape (USP10.@)

SYNOPSIS

HRESULT ScriptShape
(
HDC hdc,
SCRIPT_CACHE* psc,
const WCHAR* pwcChars,
int cChars,
int cMaxGlyphs,
SCRIPT_ANALYSIS* psa,
WORD* pwOutGlyphs,
WORD* pwLogClust,
SCRIPT_VISATTR* psva,
int* pcGlyphs
)

DESCRIPTION

Produce glyphs and visual attributes for a run.

PARAMS

hdc [In] Device context.

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

pwcChars [In] Array of characters specifying the run.

cChars [In] Number of characters in pwcChars.

cMaxGlyphs [In] Length of pwOutGlyphs.

psa [In/Out] Script analysis.

pwOutGlyphs [Out] Array of glyphs.

pwLogClust [Out] Array of logical cluster info.

psva [Out] Array of visual attributes.

pcGlyphs [Out] Number of glyphs returned.

RETURNS

Success: S_OK

Failure: Non-zero HRESULT value.

IMPLEMENTATION

Declared in "usp10.h".

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

Debug channel "uniscribe".

History