http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Initializes the font structure that can be passed to text rendering functions
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void cvInitFont( ref MCvFont font, FONT fontFace, double hscale, double vscale, double shear, int thickness, LINE_TYPE lineType ) |
Visual Basic |
---|
Public Shared Sub cvInitFont ( _ ByRef font As MCvFont, _ fontFace As FONT, _ hscale As Double, _ vscale As Double, _ shear As Double, _ thickness As Integer, _ lineType As LINE_TYPE _ ) |
Visual C++ |
---|
public: static void cvInitFont( MCvFont% font, FONT fontFace, double hscale, double vscale, double shear, int thickness, LINE_TYPE lineType ) |
Parameters
- font
- Type: Emgu.CV.Structure..::..MCvFont%
Pointer to the font structure initialized by the function
- fontFace
- Type: Emgu.CV.CvEnum..::..FONT
Font name identifier. Only a subset of Hershey fonts are supported now
- hscale
- Type: System..::..Double
Horizontal scale. If equal to 1.0f, the characters have the original width depending on the font type. If equal to 0.5f, the characters are of half the original width
- vscale
- Type: System..::..Double
Vertical scale. If equal to 1.0f, the characters have the original height depending on the font type. If equal to 0.5f, the characters are of half the original height
- shear
- Type: System..::..Double
Approximate tangent of the character slope relative to the vertical line. Zero value means a non-italic font, 1.0f means 45 slope, etc. thickness Thickness of lines composing letters outlines. The function cvLine is used for drawing letters
- thickness
- Type: System..::..Int32
Thickness of the text strokes
- lineType
- Type: Emgu.CV.CvEnum..::..LINE_TYPE
Type of the strokes