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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈