Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Font"/> class using Qt based glyphs.
 /// </summary>
 /// <param name="nameFont">
 /// Name of the font. The name should match the name of a system font (such as Times).
 /// If the font is not found, a default one is used.
 /// </param>
 /// <param name="pointSize">
 /// Size of the font. If not specified, equal zero or negative, the point size of the
 /// font is set to a system-dependent default value. Generally, this is 12 points.
 /// </param>
 public Font(string nameFont, int pointSize = -1)
     : this(nameFont, pointSize, Scalar.All(0))
 {
 }