LibreOffice Module vcl (master)  1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
CoreTextStyle Class Referencefinal

#include <salgdi.h>

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

Public Member Functions

 ~CoreTextStyle () override
 
void GetFontMetric (ImplFontMetricDataRef const &)
 
bool GetGlyphOutline (sal_GlyphId, basegfx::B2DPolyPolygon &, bool) const override
 
CFMutableDictionaryRef GetStyleDict (void) const
 
- Public Member Functions inherited from LogicalFontInstance
virtual ~LogicalFontInstance () override
 
void AddFallbackForUnicode (sal_UCS4, FontWeight eWeight, const OUString &rFontName)
 
bool GetFallbackForUnicode (sal_UCS4, FontWeight eWeight, OUString *pFontName) const
 
void IgnoreFallbackForUnicode (sal_UCS4, FontWeight eWeight, const OUString &rFontName)
 
hb_font_t * GetHbFont ()
 
bool IsGraphiteFont ()
 
void SetAverageWidthFactor (double nFactor)
 
double GetAverageWidthFactor () const
 
const FontSelectPatternGetFontSelectPattern () const
 
const PhysicalFontFaceGetFontFace () const
 
const ImplFontCacheGetFontCache () const
 
bool GetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const
 
int GetKashidaWidth ()
 
void GetScale (double *nXScale, double *nYScale)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Public Attributes

float mfFontStretch
 <1.0: font is squeezed, >1.0 font is stretched, else 1.0 More...
 
float mfFontRotation
 text rotation in radian More...
 
bool mbFauxBold
 faux bold - true, if font doesn't have proper bold variants More...
 
- Public Attributes inherited from LogicalFontInstance
ImplFontMetricDataRef mxFontMetric
 
const ConvertCharmpConversion
 
long mnLineHeight
 
short mnOwnOrientation
 
short mnOrientation
 
bool mbInit
 

Private Member Functions

 CoreTextStyle (const PhysicalFontFace &, const FontSelectPattern &)
 
hb_font_t * ImplInitHbFont () override
 
bool ImplGetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const override
 

Private Attributes

CFMutableDictionaryRef mpStyleDict
 CoreText text style object. More...
 

Friends

rtl::Reference< LogicalFontInstanceCoreTextFontFace::CreateFontInstance (const FontSelectPattern &) const
 

Additional Inherited Members

- Static Public Member Functions inherited from LogicalFontInstance
static void DecodeOpenTypeTag (const uint32_t nTableTag, char *pTagName)
 
- 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 LogicalFontInstance
 LogicalFontInstance (const PhysicalFontFace &, const FontSelectPattern &)
 
void ReleaseHbFont ()
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Static Protected Member Functions inherited from LogicalFontInstance
static hb_font_t * InitHbFont (hb_face_t *pHbFace)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

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

Constructor & Destructor Documentation

CoreTextStyle::~CoreTextStyle ( )
override
CoreTextStyle::CoreTextStyle ( const PhysicalFontFace ,
const FontSelectPattern  
)
explicitprivate

Member Function Documentation

void CoreTextStyle::GetFontMetric ( ImplFontMetricDataRef const &  )
bool CoreTextStyle::GetGlyphOutline ( sal_GlyphId  ,
basegfx::B2DPolyPolygon ,
bool   
) const
overridevirtual

Implements LogicalFontInstance.

CFMutableDictionaryRef CoreTextStyle::GetStyleDict ( void  ) const
inline

Definition at line 93 of file quartz/salgdi.h.

References mpStyleDict.

bool CoreTextStyle::ImplGetGlyphBoundRect ( sal_GlyphId  ,
tools::Rectangle ,
bool   
) const
overrideprivatevirtual

Implements LogicalFontInstance.

hb_font_t* CoreTextStyle::ImplInitHbFont ( )
overrideprivatevirtual

Reimplemented from LogicalFontInstance.

Friends And Related Function Documentation

Member Data Documentation

bool CoreTextStyle::mbFauxBold

faux bold - true, if font doesn't have proper bold variants

Definition at line 100 of file quartz/salgdi.h.

float CoreTextStyle::mfFontRotation

text rotation in radian

Definition at line 98 of file quartz/salgdi.h.

float CoreTextStyle::mfFontStretch

<1.0: font is squeezed, >1.0 font is stretched, else 1.0

Definition at line 96 of file quartz/salgdi.h.

CFMutableDictionaryRef CoreTextStyle::mpStyleDict
private

CoreText text style object.

Definition at line 109 of file quartz/salgdi.h.

Referenced by GetStyleDict().


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