|
| ON_FontList () |
|
| ON_FontList (bool bMatchUnderlineStrikethroughAndPointSize) |
|
| ~ON_FontList () |
|
unsigned int | AddFont (const ON_Font *font, bool bCheckForDuplicates) |
|
unsigned int | AddFonts (const ON_SimpleArray< const ON_Font * > &fonts) |
|
unsigned int | AddFonts (size_t font_count, const ON_Font *const *font_list) |
|
const ON_SimpleArray< const class ON_Font * > & | ByFamilyName () const |
|
const ON_SimpleArray< const class ON_Font * > & | ByFontCharacteristicsHash () const |
|
const ON_SimpleArray< const class ON_Font * > & | ByIndex () const |
|
const ON_SimpleArray< const class ON_Font * > & | ByPostScriptName () const |
|
const ON_SimpleArray< const class ON_Font * > & | ByQuartetName () const |
|
const ON_SimpleArray< const class ON_Font * > & | ByWindowsLogfontName () const |
|
unsigned int | Count () const |
|
const ON_Font * | FamilyMemberWithWeightStretchStyle (const ON_Font *font, ON_Font::Weight desired_weight, ON_Font::Stretch desired_stretch, ON_Font::Style desired_style) const |
|
const ON_Font * | FamilyMemberWithWeightStretchStyle (const wchar_t *family_name, ON_Font::Weight desired_weight, ON_Font::Stretch desired_stretch, ON_Font::Style desired_style) const |
|
const ON_Font * | FontFromQuartetProperties (const wchar_t *quartet_name, bool bBold, bool bItalic) const |
|
unsigned int | FontListFromNames (const wchar_t *postscript_name, const wchar_t *windows_logfont_name, const wchar_t *family_name, const wchar_t *face_name, ON_SimpleArray< const ON_Font * > &font_list) const |
|
const ON_Font * | FromFamilyName (const wchar_t *family_name, const wchar_t *prefered_face_name) const |
|
const ON_Font * | FromFamilyName (const wchar_t *family_name, const wchar_t *prefered_face_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style) const |
|
const ON_Font * | FromFamilyName (const wchar_t *family_name, const wchar_t *prefered_face_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style, bool bUnderlined, bool bStrikethrough) const |
|
const ON_Font * | FromFontCharacteristicsHash (ON_SHA1_Hash font_characteristics_hash, bool bReturnFirst) const |
|
const ON_Font * | FromFontProperties (const ON_Font *font_properties, bool bRequireFaceMatch, bool bRequireStyleMatch) const |
|
const ON_Font * | FromFontProperties (const ON_Font *font_properties, bool bRequireFaceMatch, bool bRequireStyleMatch, bool bUnderlined, bool bStrikethrough, double point_size) const |
|
const ON_Font * | FromNames (const wchar_t *postscript_name, const wchar_t *windows_logfont_name, const wchar_t *family_name, const wchar_t *prefered_face_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style, bool bRequireFaceMatch, bool bRequireStyleMatch) const |
|
const ON_Font * | FromNames (const wchar_t *postscript_name, const wchar_t *windows_logfont_name, const wchar_t *family_name, const wchar_t *prefered_face_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style, bool bRequireFaceMatch, bool bRequireStyleMatch, bool bUnderlined, bool bStrikethrough, double point_size) const |
|
const ON_Font * | FromPostScriptName (const wchar_t *postscript_name) const |
|
const ON_Font * | FromPostScriptName (const wchar_t *postscript_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style) const |
|
const ON_Font * | FromPostScriptName (const wchar_t *postscript_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style, bool bUnderlined, bool bStrikethrough) const |
|
const ON_Font * | FromRichTextProperties (const wchar_t *rtf_font_name, bool bRtfBold, bool bRtfItalic, bool bUnderlined, bool bStrikethrough) const |
|
const ON_Font * | FromWindowsLogfontName (const wchar_t *windows_logfont_name) const |
|
const ON_Font * | FromWindowsLogfontName (const wchar_t *windows_logfont_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style) const |
|
const ON_Font * | FromWindowsLogfontName (const wchar_t *windows_logfont_name, ON_Font::Weight prefered_weight, ON_Font::Stretch prefered_stretch, ON_Font::Style prefered_style, bool bUnderlined, bool bStrikethrough) const |
|
ON_Font::NameLocale | NameLocale () const |
|
const ON_FontFaceQuartet | QuartetFromQuartetName (const wchar_t *quartet_name) const |
|
const ON_ClassArray< ON_FontFaceQuartet > & | QuartetList () const |
|
|
static int | CompareEnglishFamilyAndFaceName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareEnglishFamilyName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareEnglishPostScriptName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareEnglishWindowsLogfontName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareFamilyAndFaceName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareFamilyAndWindowsLogfontName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareFamilyName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareFontCharacteristicsHash (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | ComparePostScriptName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareQuartetName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareStretch (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareUnderlinedStrikethroughPointSize (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareWeightStretchStyle (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
static int | CompareWindowsLogfontName (ON_Font const *const *lhs, ON_Font const *const *rhs) |
|
const ON_Font* ON_FontList::FromNames |
( |
const wchar_t * |
postscript_name, |
|
|
const wchar_t * |
windows_logfont_name, |
|
|
const wchar_t * |
family_name, |
|
|
const wchar_t * |
prefered_face_name, |
|
|
ON_Font::Weight |
prefered_weight, |
|
|
ON_Font::Stretch |
prefered_stretch, |
|
|
ON_Font::Style |
prefered_style, |
|
|
bool |
bRequireFaceMatch, |
|
|
bool |
bRequireStyleMatch |
|
) |
| const |
Parameters: postscript_name - [in] windows_logfont_name - [in] family_name - [in] The returned font will have an exact match for one of the three names, postscript_name, windows_logfont_name, or family_name.
prefered_face_name - [in] prefered_weight - [in]
prefered_stretch - [in] prefered_style - [in] Preferred font properties.
bRequireFaceMatch - [in] If true and face_name is not empty, then the returned font will have an exact match for either postscript_name, windows_logfont_name, or the family and face name pair.
bRequireStyleMatch - [in] If true and prefered_stretch is not unset, then the returned font will have prefered_style Remarks: Ignores underlined, strikethrough, and point size settings when looking for a match.
const ON_Font* ON_FontList::FromNames |
( |
const wchar_t * |
postscript_name, |
|
|
const wchar_t * |
windows_logfont_name, |
|
|
const wchar_t * |
family_name, |
|
|
const wchar_t * |
prefered_face_name, |
|
|
ON_Font::Weight |
prefered_weight, |
|
|
ON_Font::Stretch |
prefered_stretch, |
|
|
ON_Font::Style |
prefered_style, |
|
|
bool |
bRequireFaceMatch, |
|
|
bool |
bRequireStyleMatch, |
|
|
bool |
bUnderlined, |
|
|
bool |
bStrikethrough, |
|
|
double |
point_size |
|
) |
| const |
Parameters: postscript_name - [in] windows_logfont_name - [in] family_name - [in] The returned font will have an exact match for one of the three names, postscript_name, windows_logfont_name, or family_name.
prefered_face_name - [in] prefered_weight - [in]
prefered_stretch - [in] prefered_style - [in] Preferred font properties.
bRequireFaceMatch - [in] If true and face_name is not empty, then the returned font will have an exact match for either postscript_name, windows_logfont_name, or the family and face name pair.
bRequireStyleMatch - [in] If true and prefered_stretch is not unset, then the returned font will have prefered_style
bUnderlined - [in] Exact match required. bStrikethrough - [in] Exact match required. point_size - [in] Exact match required.