GlyphTypeface.GetGlyphOutline(UInt16, Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
[<System.CLSCompliant(false)>]
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om