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:
Collaboration diagram for CoreTextStyle:

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, std::u16string_view rFontName)
hb_font_t * GetHbFont ()
bool IsGraphiteFont ()
void SetAverageWidthFactor (double nFactor)
double GetAverageWidthFactor () const
const FontSelectPatternGetFontSelectPattern () const
const PhysicalFontFaceGetFontFace () const
PhysicalFontFaceGetFontFace ()
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 ConvertChar * mpConversion
tools::Long mnLineHeight
Degree10 mnOwnOrientation
Degree10 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...


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 &)
- 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 84 of file quartz/salgdi.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements LogicalFontInstance.

CFMutableDictionaryRef CoreTextStyle::GetStyleDict ( void  ) const

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

References mpStyleDict.

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

Implements LogicalFontInstance.

hb_font_t* CoreTextStyle::ImplInitHbFont ( )

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 101 of file quartz/salgdi.h.

float CoreTextStyle::mfFontRotation

text rotation in radian

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

float CoreTextStyle::mfFontStretch

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

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

CFMutableDictionaryRef CoreTextStyle::mpStyleDict

CoreText text style object.

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

Referenced by GetStyleDict().

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