CanvasFontFace.GetGdiCompatibleGlyphMetrics Method |
Gets the metrics and bounds of the glyphs that would get drawn, compatible with what GDI would produce, in em units.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntaxpublic CanvasGlyphMetrics[] GetGdiCompatibleGlyphMetrics(
float fontSize,
float dpi,
Matrix3x2 transform,
bool useGdiNatural,
int[] inputElements,
bool isSideways
)
Parameters
- fontSize
- Type: System.Single
- dpi
- Type: System.Single
- transform
- Type: System.Numerics.Matrix3x2
- useGdiNatural
- Type: System.Boolean
- inputElements
- Type:System.Int32[]
- isSideways
- Type: System.Boolean
Return Value
Type:
CanvasGlyphMetrics[]
See Also