IDWriteFontFallback::MapCharacters 方法 (dwrite_2.h)
語法
HRESULT MapCharacters(
IDWriteTextAnalysisSource *analysisSource,
UINT32 textPosition,
UINT32 textLength,
IDWriteFontCollection *baseFontCollection,
WCHAR const *baseFamilyName,
DWRITE_FONT_WEIGHT baseWeight,
DWRITE_FONT_STYLE baseStyle,
DWRITE_FONT_STRETCH baseStretch,
UINT32 *mappedLength,
IDWriteFont **mappedFont,
FLOAT *scale
);
參數
analysisSource
textPosition
textLength
baseFontCollection
baseFamilyName
baseWeight
baseStyle
baseStretch
mappedLength
mappedFont
scale
規格需求
需求 | 值 |
---|---|
標頭 | dwrite_2.h |