LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PhysicalFontFace Class Referenceabstract

abstract base class for physical font faces More...

#include <PhysicalFontFace.hxx>

Inheritance diagram for PhysicalFontFace:
Collaboration diagram for PhysicalFontFace:

Public Member Functions

virtual rtl::Reference< LogicalFontInstanceCreateFontInstance (const FontSelectPattern &) const =0
int GetHeight () const
int GetWidth () const
virtual sal_IntPtr GetFontId () const =0
virtual FontCharMapRef GetFontCharMap () const =0
virtual bool GetFontCapabilities (vcl::FontCapabilities &) const =0
bool IsBetterMatch (const FontSelectPattern &, FontMatchStatus &) const
sal_Int32 CompareWithSize (const PhysicalFontFace &) const
sal_Int32 CompareIgnoreSize (const PhysicalFontFace &) 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
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 Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
void acquire ()
void release ()

Protected Member Functions

 PhysicalFontFace (const FontAttributes &)
void SetBitmapSize (int nW, int nH)
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE

Protected Attributes

tools::Long mnWidth
tools::Long mnHeight
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
static void operator delete (void *pPtr)
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)

Detailed Description

abstract base class for physical font faces

It acts as a factory for its corresponding LogicalFontInstances and can be extended to cache device and font instance specific data.

Definition at line 61 of file PhysicalFontFace.hxx.

Constructor & Destructor Documentation

PhysicalFontFace::PhysicalFontFace ( const FontAttributes rDFA)

Member Function Documentation

sal_Int32 PhysicalFontFace::CompareIgnoreSize ( const PhysicalFontFace rOther) const
sal_Int32 PhysicalFontFace::CompareWithSize ( const PhysicalFontFace rOther) const

Definition at line 68 of file PhysicalFontFace.cxx.

References CompareIgnoreSize(), mnHeight, and mnWidth.

Referenced by PhysicalFontFamily::AddFontFace().

virtual rtl::Reference<LogicalFontInstance> PhysicalFontFace::CreateFontInstance ( const FontSelectPattern ) const
pure virtual
virtual bool PhysicalFontFace::GetFontCapabilities ( vcl::FontCapabilities ) const
pure virtual
virtual FontCharMapRef PhysicalFontFace::GetFontCharMap ( ) const
pure virtual
virtual sal_IntPtr PhysicalFontFace::GetFontId ( ) const
pure virtual
int PhysicalFontFace::GetHeight ( ) const

Definition at line 66 of file PhysicalFontFace.hxx.

References mnHeight.

Referenced by PhysicalFontFamily::GetFontHeights().

int PhysicalFontFace::GetWidth ( ) const

Definition at line 67 of file PhysicalFontFace.hxx.

References mnWidth.

bool PhysicalFontFace::IsBetterMatch ( const FontSelectPattern rFSD,
FontMatchStatus rStatus 
) const
void PhysicalFontFace::SetBitmapSize ( int  nW,
int  nH 

Definition at line 78 of file PhysicalFontFace.hxx.

References mnHeight, and mnWidth.

Member Data Documentation

tools::Long PhysicalFontFace::mnHeight

Definition at line 81 of file PhysicalFontFace.hxx.

Referenced by CompareWithSize().

tools::Long PhysicalFontFace::mnWidth

Definition at line 80 of file PhysicalFontFace.hxx.

Referenced by CompareWithSize().

The documentation for this class was generated from the following files: