Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDWriteTextAnalyzer1::GetGlyphOrientationTransform method

Returns 2x3 transform matrix for the respective angle to draw the glyph run.

Syntax


virtual HRESULT GetGlyphOrientationTransform(
        DWRITE_GLYPH_ORIENTATION_ANGLE glyphOrientationAngle,
        BOOL                           isSideways,
  [out] DWRITE_MATRIX                  *transform
) = 0;

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.

transform [out]

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

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_1.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteTextAnalyzer1

 

 

Show:
© 2018 Microsoft