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 cChar, FontWeight eWeight, const OUString &rFontName, bool bEmbolden, const ItalicMatrix &rMatrix)
bool GetFallbackForUnicode (sal_UCS4 cInChar, FontWeight eInWeight, OUString *pOutFontName, bool *pOutEmbolden, ItalicMatrix *pOutItalicMatrix) const
void IgnoreFallbackForUnicode (sal_UCS4, FontWeight eWeight, std::u16string_view rFontName)
hb_font_t * GetHbFont ()
bool IsGraphiteFont ()
bool NeedOffsetCorrection (sal_Int32 nYOffset)
void SetAverageWidthFactor (double nFactor)
double GetAverageWidthFactor () const
const vcl::font::FontSelectPatternGetFontSelectPattern () const
const vcl::font::PhysicalFontFaceGetFontFace () const
vcl::font::PhysicalFontFaceGetFontFace ()
const ImplFontCacheGetFontCache () const
bool GetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const
int GetKashidaWidth () const
void GetScale (double *nXScale, double *nYScale) const
- 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 vcl::font::PhysicalFontFace &, const vcl::font::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 vcl::font::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 vcl::font::PhysicalFontFace &, const vcl::font::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 85 of file quartz/salgdi.h.

Constructor & Destructor Documentation

CoreTextStyle::~CoreTextStyle ( )
CoreTextStyle::CoreTextStyle ( const vcl::font::PhysicalFontFace ,
const vcl::font::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 95 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 102 of file quartz/salgdi.h.

float CoreTextStyle::mfFontRotation

text rotation in radian

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

float CoreTextStyle::mfFontStretch

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

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

CFMutableDictionaryRef CoreTextStyle::mpStyleDict

CoreText text style object.

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

Referenced by GetStyleDict().

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