LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
WinFontFace Class Reference

#include <salgdi.h>

Inheritance diagram for WinFontFace:
[legend]
Collaboration diagram for WinFontFace:
[legend]

Public Member Functions

 WinFontFace (const FontAttributes &, BYTE eWinCharSet, BYTE nPitchAndFamily)
 
virtual ~WinFontFace () override
 
virtual rtl::Reference< LogicalFontInstanceCreateFontInstance (const FontSelectPattern &) const override
 
virtual sal_IntPtr GetFontId () const override
 
void SetFontId (sal_IntPtr nId)
 
void UpdateFromHDC (HDC) const
 
bool HasChar (sal_uInt32 cChar) const
 
BYTE GetCharSet () const
 
BYTE GetPitchAndFamily () const
 
FontCharMapRef GetFontCharMap () const
 
bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const
 
- Public Member Functions inherited from PhysicalFontFace
int GetHeight () const
 
int GetWidth () const
 
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 ()
 

Private Member Functions

void ReadCmapTable (HDC) const
 
void GetFontCapabilities (HDC hDC) const
 

Private Attributes

sal_IntPtr mnId
 
bool mbFontCapabilitiesRead
 
FontCharMapRef mxUnicodeMap
 
vcl::FontCapabilities maFontCapabilities
 
BYTE meWinCharSet
 
BYTE mnPitchAndFamily
 
bool mbAliasSymbolsHigh
 
bool mbAliasSymbolsLow
 

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)
 
- Protected Member Functions inherited from PhysicalFontFace
 PhysicalFontFace (const FontAttributes &)
 
void SetBitmapSize (int nW, int nH)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from PhysicalFontFace
long mnWidth
 
long mnHeight
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 58 of file win/salgdi.h.

Constructor & Destructor Documentation

WinFontFace::WinFontFace ( const FontAttributes ,
BYTE  eWinCharSet,
BYTE  nPitchAndFamily 
)
explicit
virtual WinFontFace::~WinFontFace ( )
overridevirtual

Member Function Documentation

virtual rtl::Reference<LogicalFontInstance> WinFontFace::CreateFontInstance ( const FontSelectPattern ) const
overridevirtual

Implements PhysicalFontFace.

BYTE WinFontFace::GetCharSet ( ) const
inline

Definition at line 73 of file win/salgdi.h.

References meWinCharSet.

bool WinFontFace::GetFontCapabilities ( vcl::FontCapabilities rFontCapabilities) const
void WinFontFace::GetFontCapabilities ( HDC  hDC) const
private
FontCharMapRef WinFontFace::GetFontCharMap ( ) const
virtual sal_IntPtr WinFontFace::GetFontId ( ) const
overridevirtual

Implements PhysicalFontFace.

BYTE WinFontFace::GetPitchAndFamily ( ) const
inline

Definition at line 74 of file win/salgdi.h.

References mnPitchAndFamily.

bool WinFontFace::HasChar ( sal_uInt32  cChar) const
inline
void WinFontFace::ReadCmapTable ( HDC  ) const
private
void WinFontFace::SetFontId ( sal_IntPtr  nId)
inline

Definition at line 68 of file win/salgdi.h.

References mnId.

void WinFontFace::UpdateFromHDC ( HDC  ) const

Member Data Documentation

vcl::FontCapabilities WinFontFace::maFontCapabilities
mutableprivate

Definition at line 85 of file win/salgdi.h.

bool WinFontFace::mbAliasSymbolsHigh
private

Definition at line 89 of file win/salgdi.h.

Referenced by HasChar().

bool WinFontFace::mbAliasSymbolsLow
private

Definition at line 90 of file win/salgdi.h.

Referenced by HasChar().

bool WinFontFace::mbFontCapabilitiesRead
mutableprivate

Definition at line 83 of file win/salgdi.h.

BYTE WinFontFace::meWinCharSet
private

Definition at line 87 of file win/salgdi.h.

Referenced by GetCharSet().

sal_IntPtr WinFontFace::mnId
private

Definition at line 80 of file win/salgdi.h.

Referenced by SetFontId().

BYTE WinFontFace::mnPitchAndFamily
private

Definition at line 88 of file win/salgdi.h.

Referenced by GetPitchAndFamily().

FontCharMapRef WinFontFace::mxUnicodeMap
mutableprivate

Definition at line 84 of file win/salgdi.h.

Referenced by HasChar().


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