IDWriteTextAnalysisSource1::GetVerticalGlyphOrientation method
Used by the text analyzer to obtain the desired glyph orientation and resolved bidi level.
Syntax
virtual HRESULT GetVerticalGlyphOrientation(
UINT32 textPosition,
[out] UINT32 *textLength,
[out] DWRITE_VERTICAL_GLYPH_ORIENTATION *glyphOrientation,
[out] UINT8 *bidiLevel
) = 0;
Parameters
- textPosition
-
Type: UINT32
The text position.
- textLength [out]
-
Type: UINT32*
A pointer to the text length.
- glyphOrientation [out]
-
Type: DWRITE_VERTICAL_GLYPH_ORIENTATION*
A DWRITE_VERTICAL_GLYPH_ORIENTATION-typed value that specifies the desired kind of glyph orientation for the text.
- bidiLevel [out]
-
Type: UINT8*
A pointer to the resolved bidi level.
Return value
Type: HRESULT
Returning an error will abort the analysis.
Remarks
The text analyzer calls back to this to get the desired glyph orientation and resolved bidi level, which it uses along with the script properties of the text to determine the actual orientation of each character, which it reports back to the client via the sink SetGlyphOrientation method.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also