Click or drag to resize

Freetype2 Class

http://www.emgu.com
Draw UTF-8 strings with freetype/harfbuzz.
Inheritance Hierarchy

Namespace:  Emgu.CV.Freetype
Assembly:  Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntax
public class Freetype2 : SharedPtrObject, IAlgorithm

The Freetype2 type exposes the following members.

Constructors
  NameDescription
Public methodFreetype2
Create instance to draw UTF-8 strings.
Top
Properties
  NameDescription
Public propertyAlgorithmPtr
Native algorithm pointer
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertySharedPtr
Pointer to the shared pointer to the unmanaged object
(Inherited from SharedPtrObject.)
Top
Methods
  NameDescription
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release all the unmanaged memory associate with this object
(Overrides DisposableObjectDisposeObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTextSize
Calculates the width and height of a text string.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadFontData
Load font data.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPutText
Renders the specified text string in the image. Symbols that cannot be rendered using the specified font are replaced by "Tofu" or non-drawn.
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodSetSplitNumber
Set the number of split points from bezier-curve to line. If you want to draw large glyph, large is better. If you want to draw small glyph, small is better.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Protected field_sharedPtr
A pointer to the shared pointer to the unmanaged object
(Inherited from SharedPtrObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodClear
Clear the algorithm
(Defined by AlgorithmExtensions.)
Public Extension MethodGetDefaultName
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
(Defined by AlgorithmExtensions.)
Public Extension MethodIsEmpty
Returns true if the Algorithm is empty. e.g. in the very beginning or after unsuccessful read.
(Defined by AlgorithmExtensions.)
Public Extension MethodLoad
Loads algorithm from the file
(Defined by AlgorithmExtensions.)
Public Extension MethodLoadFromString
Loads algorithm from a String
(Defined by AlgorithmExtensions.)
Public Extension MethodRead
Reads algorithm parameters from a file storage.
(Defined by AlgorithmExtensions.)
Public Extension MethodSave
Save the algorithm to file
(Defined by AlgorithmExtensions.)
Public Extension MethodSaveToString
Save the algorithm to a string
(Defined by AlgorithmExtensions.)
Public Extension MethodWrite(FileStorage)Overloaded.
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.)
Public Extension MethodWrite(FileStorage, String)Overloaded.
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.)
Top
See Also