GlyphTypeface.GetGlyphOutline(UInt16, Double, Double) Method

Definition

Important

This API is not CLS-compliant.

Returns a Geometry value describing the path for a single glyph in the font.

public:
 System::Windows::Media::Geometry ^ GetGlyphOutline(System::UInt16 glyphIndex, double renderingEmSize, double hintingEmSize);
[System.CLSCompliant(false)]
public System.Windows.Media.Geometry GetGlyphOutline (ushort glyphIndex, double renderingEmSize, double hintingEmSize);
member this.GetGlyphOutline : uint16 * double * double -> System.Windows.Media.Geometry
Public Function GetGlyphOutline (glyphIndex As UShort, renderingEmSize As Double, hintingEmSize As Double) As Geometry

Parameters

glyphIndex
UInt16

The index of the glyph to get the outline for.

renderingEmSize
Double

The font size in drawing surface units.

hintingEmSize
Double

The size to hint for in points.

Returns

A Geometry value that represents the path of the glyph.

Attributes

Remarks

The path represents the glyph without grid fitting applied for rendering at a specific resolution.

Applies to