Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetGlyphOrientationTransform method

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 | 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

Dwrite_1.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteTextAnalyzer1

 

 

Community Additions

ADD
Show:
© 2015 Microsoft