|
LibreOffice Module vcl (master) 1
|
#include <FontSelectPattern.hxx>
Public Member Functions | |
| FontSelectPattern (const vcl::Font &, OUString aSearchName, const Size &, float fExactHeight, bool bNonAntialias=false) | |
| size_t | hashCode () const |
| bool | operator== (const FontSelectPattern &rOther) const |
| bool | operator!= (const FontSelectPattern &rOther) const |
Public Member Functions inherited from FontAttributes | |
| FontAttributes () | |
| const OUString & | GetFamilyName () const |
| FontFamily | GetFamilyType () const |
| const OUString & | GetStyleName () const |
| FontWeight | GetWeight () const |
| FontItalic | GetItalic () const |
| FontPitch | GetPitch () const |
| FontWidth | GetWidthType () const |
| bool | IsMicrosoftSymbolEncoded () 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 | SetMicrosoftSymbolEncoded (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 (std::u16string_view) |
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 40 of file FontSelectPattern.hxx.
| vcl::font::FontSelectPattern::FontSelectPattern | ( | const vcl::Font & | rFont, |
| OUString | aSearchName, | ||
| const Size & | rSize, | ||
| float | fExactHeight, | ||
| bool | bNonAntialias = false |
||
| ) |
Definition at line 37 of file FontSelectPattern.cxx.
References FontAttributes::GetFamilyName(), vcl::Font::GetFontAttributes(), GetLanguage(), Height, maTargetName, meLanguage, mnHeight, mnHeight, mnOrientation, mnWidth, mnWidth, o3tl::saturating_toggle_sign(), and Width.
| size_t vcl::font::FontSelectPattern::hashCode | ( | ) | const |
Definition at line 90 of file FontSelectPattern.cxx.
References FEAT_PREFIX, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), FontAttributes::GetItalic(), FontAttributes::GetWeight(), maSearchName, maTargetName, mbVertical, meLanguage, mnHeight, and mnOrientation.
Referenced by ImplFontCache::IFSD_Hash::operator()().
|
inline |
Definition at line 52 of file FontSelectPattern.hxx.
| bool vcl::font::FontSelectPattern::operator== | ( | const FontSelectPattern & | rOther | ) | const |
Definition at line 114 of file FontSelectPattern.cxx.
References FontAttributes::CompareDeviceIndependentFontAttributes(), maItalicMatrix, maSearchName, maTargetName, mbEmbolden, mbNonAntialiased, mbVertical, meLanguage, mfExactHeight, mnHeight, mnOrientation, and mnWidth.
|
static |
Definition at line 57 of file FontSelectPattern.hxx.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily(), hashCode(), and ImplFontCache::IFSD_Equal::operator()().
|
static |
Definition at line 58 of file FontSelectPattern.hxx.
| ItalicMatrix vcl::font::FontSelectPattern::maItalicMatrix |
Definition at line 72 of file FontSelectPattern.hxx.
Referenced by vcl::font::PhysicalFontCollection::GetGlyphFallbackFont(), vcl::font::ItalicMatchValue(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
| OUString vcl::font::FontSelectPattern::maSearchName |
Definition at line 62 of file FontSelectPattern.hxx.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily(), vcl::font::FindMetricCompatibleFont(), ImplFontCache::GetFontInstance(), vcl::font::PhysicalFontCollection::GetGlyphFallbackFont(), ImplFontCache::GetGlyphFallbackFont(), hashCode(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
| OUString vcl::font::FontSelectPattern::maTargetName |
Definition at line 61 of file FontSelectPattern.hxx.
Referenced by vcl::font::FamilyNameMatchValue(), vcl::font::PhysicalFontFamily::FindBestFontFace(), vcl::font::PhysicalFontCollection::FindFontFamily(), FontSelectPattern(), ImplFontCache::GetFontInstance(), hashCode(), GenericSalLayout::LayoutText(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
| bool vcl::font::FontSelectPattern::mbEmbolden |
Definition at line 71 of file FontSelectPattern.hxx.
Referenced by vcl::font::PhysicalFontCollection::GetGlyphFallbackFont(), ImplFontCache::IFSD_Equal::operator()(), operator==(), and vcl::font::WeightMatchValue().
| bool vcl::font::FontSelectPattern::mbNonAntialiased |
Definition at line 69 of file FontSelectPattern.hxx.
Referenced by operator==().
| bool vcl::font::FontSelectPattern::mbVertical |
Definition at line 68 of file FontSelectPattern.hxx.
Referenced by hashCode(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
| LanguageType vcl::font::FontSelectPattern::meLanguage |
Definition at line 67 of file FontSelectPattern.hxx.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily(), hashCode(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
| float vcl::font::FontSelectPattern::mfExactHeight |
Definition at line 65 of file FontSelectPattern.hxx.
Referenced by operator==().
| int vcl::font::FontSelectPattern::mnHeight |
Definition at line 64 of file FontSelectPattern.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout(), FontSelectPattern(), LogicalFontInstance::GetScale(), hashCode(), OutputDevice::ImplDrawRotateText(), ImplFontCache::IFSD_Equal::operator()(), and operator==().
| Degree10 vcl::font::FontSelectPattern::mnOrientation |
Definition at line 66 of file FontSelectPattern.hxx.
Referenced by FontSelectPattern(), hashCode(), vcl::font::PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), operator==(), and OutputDevice::SetFontOrientation().
| int vcl::font::FontSelectPattern::mnWidth |
Definition at line 63 of file FontSelectPattern.hxx.
Referenced by FontSelectPattern(), LogicalFontInstance::GetScale(), OutputDevice::ImplDrawRotateText(), vcl::font::PhysicalFontFace::IsBetterMatch(), ImplFontCache::IFSD_Equal::operator()(), and operator==().