LibreOffice Module vcl (master) 1
Public Member Functions | List of all members
TextRenderImpl Class Referenceabstract

#include <textrender.hxx>

Inheritance diagram for TextRenderImpl:
[legend]

Public Member Functions

virtual ~TextRenderImpl ()
 
virtual void SetTextColor (Color nColor)=0
 
virtual void SetFont (LogicalFontInstance *, int nFallbackLevel)=0
 
void ReleaseFonts ()
 
virtual void GetFontMetric (ImplFontMetricDataRef &, int nFallbackLevel)=0
 
virtual FontCharMapRef GetFontCharMap () const =0
 
virtual bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const =0
 
virtual void GetDevFontList (vcl::font::PhysicalFontCollection *)=0
 
virtual void ClearDevFontCache ()=0
 
virtual bool AddTempDevFont (vcl::font::PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName)=0
 
virtual bool CreateFontSubset (const OUString &rToFile, const vcl::font::PhysicalFontFace *, const sal_GlyphId *pGlyphIDs, const sal_uInt8 *pEncoding, sal_Int32 *pWidths, int nGlyphs, FontSubsetInfo &rInfo)=0
 
virtual const void * GetEmbedFontData (const vcl::font::PhysicalFontFace *, tools::Long *pDataLen)=0
 
virtual void FreeEmbedFontData (const void *pData, tools::Long nDataLen)=0
 
virtual void GetGlyphWidths (const vcl::font::PhysicalFontFace *, bool bVertical, std::vector< sal_Int32 > &rWidths, Ucs2UIntMap &rUnicodeEnc)=0
 
virtual std::unique_ptr< GenericSalLayoutGetTextLayout (int nFallbackLevel)=0
 
virtual void DrawTextLayout (const GenericSalLayout &, const SalGraphics &)=0
 

Detailed Description

Definition at line 30 of file textrender.hxx.

Constructor & Destructor Documentation

◆ ~TextRenderImpl()

virtual TextRenderImpl::~TextRenderImpl ( )
inlinevirtual

Definition at line 34 of file textrender.hxx.

Member Function Documentation

◆ AddTempDevFont()

virtual bool TextRenderImpl::AddTempDevFont ( vcl::font::PhysicalFontCollection ,
const OUString &  rFileURL,
const OUString &  rFontName 
)
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ ClearDevFontCache()

virtual void TextRenderImpl::ClearDevFontCache ( )
pure virtual

Implemented in SkiaTextRender, and FreeTypeTextRenderImpl.

◆ CreateFontSubset()

virtual bool TextRenderImpl::CreateFontSubset ( const OUString &  rToFile,
const vcl::font::PhysicalFontFace ,
const sal_GlyphId pGlyphIDs,
const sal_uInt8 pEncoding,
sal_Int32 *  pWidths,
int  nGlyphs,
FontSubsetInfo rInfo 
)
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ DrawTextLayout()

virtual void TextRenderImpl::DrawTextLayout ( const GenericSalLayout ,
const SalGraphics  
)
pure virtual

Implemented in SkiaTextRender, and CairoTextRender.

◆ FreeEmbedFontData()

virtual void TextRenderImpl::FreeEmbedFontData ( const void *  pData,
tools::Long  nDataLen 
)
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ GetDevFontList()

virtual void TextRenderImpl::GetDevFontList ( vcl::font::PhysicalFontCollection )
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ GetEmbedFontData()

virtual const void * TextRenderImpl::GetEmbedFontData ( const vcl::font::PhysicalFontFace ,
tools::Long pDataLen 
)
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ GetFontCapabilities()

virtual bool TextRenderImpl::GetFontCapabilities ( vcl::FontCapabilities rFontCapabilities) const
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ GetFontCharMap()

virtual FontCharMapRef TextRenderImpl::GetFontCharMap ( ) const
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ GetFontMetric()

virtual void TextRenderImpl::GetFontMetric ( ImplFontMetricDataRef ,
int  nFallbackLevel 
)
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ GetGlyphWidths()

virtual void TextRenderImpl::GetGlyphWidths ( const vcl::font::PhysicalFontFace ,
bool  bVertical,
std::vector< sal_Int32 > &  rWidths,
Ucs2UIntMap rUnicodeEnc 
)
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ GetTextLayout()

virtual std::unique_ptr< GenericSalLayout > TextRenderImpl::GetTextLayout ( int  nFallbackLevel)
pure virtual

Implemented in FreeTypeTextRenderImpl.

◆ ReleaseFonts()

void TextRenderImpl::ReleaseFonts ( )
inline

Definition at line 38 of file textrender.hxx.

References SetFont().

◆ SetFont()

virtual void TextRenderImpl::SetFont ( LogicalFontInstance ,
int  nFallbackLevel 
)
pure virtual

Implemented in FreeTypeTextRenderImpl.

Referenced by ReleaseFonts().

◆ SetTextColor()

virtual void TextRenderImpl::SetTextColor ( Color  nColor)
pure virtual

Implemented in FreeTypeTextRenderImpl.


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