LibreOffice Module vcl (master) 1
|
#include <winlayout.hxx>
Public Member Functions | |
~WinFontInstance () override | |
bool | hasHScale () const |
float | getHScale () const |
void | SetGraphics (WinSalGraphics *) |
WinSalGraphics * | GetGraphics () const |
HFONT | GetHFONT () const |
float | GetScale () const |
bool | IsCJKVerticalFont () const |
sal_Int32 | GetTmDescent () const |
const WinFontFace * | GetFontFace () const |
WinFontFace * | GetFontFace () |
bool | GetGlyphOutline (sal_GlyphId, basegfx::B2DPolyPolygon &, bool) const override |
![]() | |
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::FontSelectPattern & | GetFontSelectPattern () const |
const vcl::font::PhysicalFontFace * | GetFontFace () const |
vcl::font::PhysicalFontFace * | GetFontFace () |
const ImplFontCache * | GetFontCache () const |
bool | GetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const |
virtual bool | GetGlyphOutline (sal_GlyphId, basegfx::B2DPolyPolygon &, bool) const =0 |
int | GetKashidaWidth () const |
void | GetScale (double *nXScale, double *nYScale) const |
![]() | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Member Functions | |
WinFontInstance (const WinFontFace &, const vcl::font::FontSelectPattern &) | |
hb_font_t * | ImplInitHbFont () override |
bool | ImplGetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const override |
Private Attributes | |
WinSalGraphics * | m_pGraphics |
HFONT | m_hFont |
float | m_fScale |
bool | m_bIsCJKVerticalFont |
sal_Int32 | m_nTmDescent |
Friends | |
rtl::Reference< LogicalFontInstance > | WinFontFace::CreateFontInstance (const vcl::font::FontSelectPattern &) const |
Additional Inherited Members | |
![]() | |
static void | DecodeOpenTypeTag (const uint32_t nTableTag, char *pTagName) |
![]() | |
static void * | operator new (std::size_t nSize) |
static void * | operator 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) |
![]() | |
ImplFontMetricDataRef | mxFontMetric |
const ConvertChar * | mpConversion |
tools::Long | mnLineHeight |
Degree10 | mnOwnOrientation |
Degree10 | mnOrientation |
bool | mbInit |
![]() | |
LogicalFontInstance (const vcl::font::PhysicalFontFace &, const vcl::font::FontSelectPattern &) | |
virtual bool | ImplGetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const =0 |
virtual hb_font_t * | ImplInitHbFont () |
![]() | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
![]() | |
static hb_font_t * | InitHbFont (hb_face_t *pHbFace) |
![]() | |
oslInterlockedCount | m_nCount |
Definition at line 32 of file winlayout.hxx.
|
override |
|
explicitprivate |
|
inline |
Definition at line 53 of file winlayout.hxx.
References LogicalFontInstance::GetFontFace().
|
inline |
Definition at line 52 of file winlayout.hxx.
References LogicalFontInstance::GetFontFace().
|
overridevirtual |
Implements LogicalFontInstance.
|
inline |
Definition at line 43 of file winlayout.hxx.
References m_pGraphics.
|
inline |
Definition at line 45 of file winlayout.hxx.
References m_hFont.
float WinFontInstance::getHScale | ( | ) | const |
|
inline |
Definition at line 46 of file winlayout.hxx.
References m_fScale.
|
inline |
Definition at line 50 of file winlayout.hxx.
References m_nTmDescent.
bool WinFontInstance::hasHScale | ( | ) | const |
|
overrideprivatevirtual |
Implements LogicalFontInstance.
|
overrideprivatevirtual |
Reimplemented from LogicalFontInstance.
|
inline |
Definition at line 49 of file winlayout.hxx.
References m_bIsCJKVerticalFont.
void WinFontInstance::SetGraphics | ( | WinSalGraphics * | ) |
|
friend |
|
private |
Definition at line 66 of file winlayout.hxx.
Referenced by IsCJKVerticalFont().
|
private |
Definition at line 65 of file winlayout.hxx.
Referenced by GetScale().
|
private |
Definition at line 64 of file winlayout.hxx.
Referenced by GetHFONT().
|
private |
Definition at line 67 of file winlayout.hxx.
Referenced by GetTmDescent().
|
private |
Definition at line 63 of file winlayout.hxx.
Referenced by GetGraphics().