Click or drag to resize

FontManager3D Class

Manages font metrics and character geometry for 3D text rendering.
Inheritance Hierarchy
SystemObject
  Altaxo.Drawing.D3DFontManager3D

Namespace: Altaxo.Drawing.D3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class FontManager3D

The FontManager3D type exposes the following members.

Constructors
 NameDescription
Protected methodFontManager3D Initializes a new instance of the FontManager3D class.
Top
Properties
 NameDescription
Public propertyStatic memberInstance Gets or sets the singleton font manager instance.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetCharacterGeometry Gets the cached character geometry for a font and character.
Public methodGetFont Creates a 3D font for the specified family, size, depth, and style.
Public methodGetFontInformation Gets font metrics for the specified 3D font.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRawCharacterOutline Gets the raw character outline, i.e. the polygonal shape that forms a character. The polygons are in their raw form, i.e. not simplified.
Public methodStatic memberGetTriangles Triangulates the specified polygons and returns the resulting polygons with triangle data.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInternalGetCharacterGeometryForCaching Creates cached character geometry from the raw outline information.
Public methodMeasureString Measures a text string using the specified 3D font.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_bmp Cached bitmap used to create a graphics context for font measurements.
Protected field_cachedCharacterOutlines The _cached character outlines. Key is the invariant Gdi typeface name (without size information, as obtained with InvariantDescriptionStringWithoutSizeInformation). Value is a dictionary with text character as key and the polygonal shape of this character as value.
Protected field_graphics Cached graphics context used for font measurements.
Protected fieldStatic memberFontSizeForCaching Font size used when caching character outlines.
Top
See Also