LibreOffice Module vcl (master)
1
|
#include <fontselect.hxx>
Public Member Functions | |
FontSelectPattern (const vcl::Font &, const OUString &rSearchName, const Size &, float fExactHeight, bool bNonAntialias=false) | |
size_t | hashCode () const |
bool | operator== (const FontSelectPattern &rOther) const |
bool | operator!= (const FontSelectPattern &rOther) const |
![]() | |
FontAttributes () | |
const OUString & | GetFamilyName () const |
FontFamily | GetFamilyType () const |
const OUString & | GetStyleName () const |
FontWeight | GetWeight () const |
FontItalic | GetItalic () const |
FontPitch | GetPitch () const |
FontWidth | GetWidthType () const |
rtl_TextEncoding | GetCharSet () const |
bool | IsSymbolFont () const |
void | SetFamilyName (const OUString &sFamilyName) |
void | SetStyleName (const OUString &sStyleName) |
void | SetFamilyType (const FontFamily eFontFamily) |
void | SetPitch (const FontPitch ePitch) |
void | SetItalic (const FontItalic eItalic) |
void | SetWeight (const FontWeight eWeight) |
void | SetWidthType (const FontWidth eWidthType) |
void | SetSymbolFlag (const bool) |
bool | CompareDeviceIndependentFontAttributes (const FontAttributes &rOther) const |
int | GetQuality () const |
const OUString & | GetMapNames () const |
void | SetQuality (int nQuality) |
void | IncreaseQualityBy (int nQualityAmount) |
void | AddMapName (OUString const &) |
Public Attributes | |
OUString | maTargetName |
OUString | maSearchName |
int | mnWidth |
int | mnHeight |
float | mfExactHeight |
Degree10 | mnOrientation |
LanguageType | meLanguage |
bool | mbVertical |
bool | mbNonAntialiased |
bool | mbEmbolden |
ItalicMatrix | maItalicMatrix |
Static Public Attributes | |
static const char | FEAT_PREFIX = ':' |
static const char | FEAT_SEPARATOR = '&' |
Definition at line 37 of file fontselect.hxx.
FontSelectPattern::FontSelectPattern | ( | const vcl::Font & | rFont, |
const OUString & | rSearchName, | ||
const Size & | rSize, | ||
float | fExactHeight, | ||
bool | bNonAntialias = false |
||
) |
Definition at line 32 of file fontselect.cxx.
References FontAttributes::GetFamilyName(), vcl::Font::GetFontAttributes(), GetLanguage(), Height, maTargetName, meLanguage, mnHeight, mnHeight, mnOrientation, mnWidth, mnWidth, o3tl::saturating_toggle_sign(), and Width.
size_t FontSelectPattern::hashCode | ( | ) | const |
Definition at line 85 of file fontselect.cxx.
References FEAT_PREFIX, o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), FontAttributes::GetItalic(), FontAttributes::GetWeight(), maSearchName, maTargetName, mbVertical, meLanguage, mnHeight, and mnOrientation.
Referenced by ImplFontCache::IFSD_Hash::operator()().
|
inline |
Definition at line 49 of file fontselect.hxx.
bool FontSelectPattern::operator== | ( | const FontSelectPattern & | rOther | ) | const |
Definition at line 109 of file fontselect.cxx.
References FontAttributes::CompareDeviceIndependentFontAttributes(), maItalicMatrix, maSearchName, maTargetName, mbEmbolden, mbNonAntialiased, mbVertical, meLanguage, mfExactHeight, mnHeight, mnOrientation, and mnWidth.
|
static |
Definition at line 54 of file fontselect.hxx.
Referenced by PhysicalFontCollection::FindFontFamily(), hashCode(), and ImplFontCache::IFSD_Equal::operator()().
|
static |
Definition at line 55 of file fontselect.hxx.
ItalicMatrix FontSelectPattern::maItalicMatrix |
Definition at line 69 of file fontselect.hxx.
Referenced by PhysicalFontCollection::GetGlyphFallbackFont(), PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
OUString FontSelectPattern::maSearchName |
Definition at line 59 of file fontselect.hxx.
Referenced by PhysicalFontCollection::FindFontFamily(), FindMetricCompatibleFont(), ImplFontCache::GetFontInstance(), PhysicalFontCollection::GetGlyphFallbackFont(), ImplFontCache::GetGlyphFallbackFont(), hashCode(), ImplFontCache::IFSD_Equal::operator()(), operator<<(), and operator==().
OUString FontSelectPattern::maTargetName |
Definition at line 58 of file fontselect.hxx.
Referenced by PhysicalFontFamily::FindBestFontFace(), PhysicalFontCollection::FindFontFamily(), FontSelectPattern(), ImplFontCache::GetFontInstance(), hashCode(), PhysicalFontFace::IsBetterMatch(), GenericSalLayout::LayoutText(), ImplFontCache::IFSD_Equal::operator()(), operator<<(), and operator==().
bool FontSelectPattern::mbEmbolden |
Definition at line 68 of file fontselect.hxx.
Referenced by PhysicalFontCollection::GetGlyphFallbackFont(), PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
bool FontSelectPattern::mbNonAntialiased |
Definition at line 66 of file fontselect.hxx.
Referenced by operator<<(), and operator==().
bool FontSelectPattern::mbVertical |
Definition at line 65 of file fontselect.hxx.
Referenced by hashCode(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
LanguageType FontSelectPattern::meLanguage |
Definition at line 64 of file fontselect.hxx.
Referenced by PhysicalFontCollection::FindFontFamily(), hashCode(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
float FontSelectPattern::mfExactHeight |
Definition at line 62 of file fontselect.hxx.
Referenced by operator==().
int FontSelectPattern::mnHeight |
Definition at line 61 of file fontselect.hxx.
Referenced by FontSelectPattern(), LogicalFontInstance::GetScale(), hashCode(), OutputDevice::ImplDrawRotateText(), ImplFontCache::IFSD_Equal::operator()(), operator<<(), and operator==().
Degree10 FontSelectPattern::mnOrientation |
Definition at line 63 of file fontselect.hxx.
Referenced by FontSelectPattern(), hashCode(), PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), operator==(), and OutputDevice::SetFontOrientation().
int FontSelectPattern::mnWidth |
Definition at line 60 of file fontselect.hxx.
Referenced by FontSelectPattern(), LogicalFontInstance::GetScale(), OutputDevice::ImplDrawRotateText(), PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), operator<<(), and operator==().