Scroll to navigation

ScriptGetLogicalWidths(3w) Wine API ScriptGetLogicalWidths(3w)

NAME

ScriptGetLogicalWidths (USP10.@)

SYNOPSIS

HRESULT ScriptGetLogicalWidths
(
const SCRIPT_ANALYSIS* sa,
int nbchars,
int nbglyphs,
const int* glyph_width,
const WORD* log_clust,
const SCRIPT_VISATTR* sva,
int* widths
)
 

DESCRIPTION

Convert advance widths to logical widths.
 

PARAMS

sa [In] Script analysis.
nbchars [In] Number of characters.
nbglyphs [In] Number of glyphs.
glyph_width [In] Array of glyph widths.
log_clust [In] Array of logical clusters.
sva [In] Visual attributes.
widths [Out] Array of logical widths.
 

RETURNS

Success: S_OK
Failure: a non-zero HRESULT.
 

IMPLEMENTATION

Declared in "usp10.h".
Implemented in "dlls/usp10/usp10.c".
Debug channel "uniscribe".
Oct 2012 Wine API