Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Returns 2x3 transform matrix for the respective angle to draw the glyph run.
Syntax
HRESULT GetGlyphOrientationTransform(
DWRITE_GLYPH_ORIENTATION_ANGLE glyphOrientationAngle,
BOOL isSideways,
[out] DWRITE_MATRIX *transform
);
Parameters
glyphOrientationAngle
Type: DWRITE_GLYPH_ORIENTATION_ANGLE
A DWRITE_GLYPH_ORIENTATION_ANGLE-typed value that specifies the angle that was reported into IDWriteTextAnalysisSink1::SetGlyphOrientation.
isSideways
Type: BOOL
Whether the run's glyphs are sideways or not.
[out] transform
Type: DWRITE_MATRIX*
Returned transform.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The translation component of the transform returned is zero.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | dwrite_1.h |
| Library | Dwrite.lib |
| DLL | Dwrite.dll |