VectSharp 2.6.1
A light library for C# vector graphics
|
Abstract class with a default implementation of font family fallbacks. More...
Public Member Functions | |||||||
abstract FontFamily | ResolveFontFamily (string fontFamily) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.
| |||||||
abstract FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) | ||||||
Create a new font family from the specified standard font family name.
| |||||||
virtual FontFamily | ResolveFontFamily (string fontFamily, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, an exception might be raised.
| |||||||
virtual FontFamily | ResolveFontFamily (string fontFamily, FontFamily.StandardFontFamilies finalFallback, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, instantiate a standard font family using the finalFallback .
| |||||||
FontFamily | ResolveFontFamily (string fontFamily) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised. More... | |||||||
FontFamily | ResolveFontFamily (string fontFamily, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, an exception might be raised. More... | |||||||
FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) | ||||||
Create a new font family from the specified standard font family name. More... | |||||||
FontFamily | ResolveFontFamily (string fontFamily, FontFamily.StandardFontFamilies finalFallback, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, instantiate a standard font family using the finalFallback . More... | |||||||
Abstract class with a default implementation of font family fallbacks.
Definition at line 67 of file FontLibrary.cs.
|
pure virtual |
Create a new font family from the specified standard font family name.
standardFontFamily | The standard name of the font family. |
Implements VectSharp.IFontLibrary.
Implemented in VectSharp.SimpleFontLibrary, VectSharp.DefaultFontLibrary, VectSharp.FolderFontLibrary, and VectSharp.MultiFontLibrary.
|
pure virtual |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.
fontFamily | The name of the font family to create, or the path to a TTF file. |
Implements VectSharp.IFontLibrary.
Implemented in VectSharp.SimpleFontLibrary, VectSharp.DefaultFontLibrary, VectSharp.FolderFontLibrary, and VectSharp.MultiFontLibrary.
|
virtual |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, instantiate a standard font family using the finalFallback .
fontFamily | The name of the font family to create, or the path to a TTF file. |
fallback | Names of additional font families or TTF files, which will be tried if the first fontFamily is not valid. |
finalFallback | The standard name of the font family that will be used if none of the fallback families are valid. |
Implements VectSharp.IFontLibrary.
Definition at line 129 of file FontLibrary.cs.
|
virtual |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, an exception might be raised.
fontFamily | The name of the font family to create, or the path to a TTF file. |
fallback | Names of additional font families or TTF files, which will be tried if the first fontFamily is not valid. |
Implements VectSharp.IFontLibrary.
Definition at line 76 of file FontLibrary.cs.