diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-01-09 18:28:31 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-01-10 07:41:55 +1100 |
commit | d1d1f0c2164fcbef40ff98edfe691a29bfaea280 (patch) | |
tree | ffba7fc2cced558c8f7f0c9ee86da434c8fa11d0 /vcl | |
parent | 8dfe08697b94e9b167a9bf66acf44ab5d6be562a (diff) |
vcl: cleanup textrender.hxx
Change-Id: Id8524328f1bdacbc37dd6846f053e5bcfbcd782c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/textrender.hxx | 71 |
1 files changed, 38 insertions, 33 deletions
diff --git a/vcl/inc/textrender.hxx b/vcl/inc/textrender.hxx index f4dcc8358cb1..bdb55bdfb486 100644 --- a/vcl/inc/textrender.hxx +++ b/vcl/inc/textrender.hxx @@ -42,40 +42,45 @@ class TextRenderImpl public: virtual ~TextRenderImpl() {} - virtual void SetTextColor( SalColor nSalColor ) = 0; - virtual sal_uInt16 SetFont( FontSelectPattern*, int nFallbackLevel ) = 0; - virtual void GetFontMetric( ImplFontMetricData*, int nFallbackLevel ) = 0; - virtual const FontCharMapPtr GetFontCharMap() const = 0; - virtual bool GetFontCapabilities(vcl::FontCapabilities &rFontCapabilities) const = 0; - virtual void GetDevFontList( PhysicalFontCollection* ) = 0; - virtual void ClearDevFontCache() = 0; - virtual bool AddTempDevFont( PhysicalFontCollection*, const OUString& rFileURL, const OUString& rFontName ) = 0; - virtual bool CreateFontSubset( const OUString& rToFile, - const PhysicalFontFace*, - sal_GlyphId* pGlyphIDs, - sal_uInt8* pEncoding, - sal_Int32* pWidths, - int nGlyphs, - FontSubsetInfo& rInfo - ) = 0; - virtual const Ucs2SIntMap* GetFontEncodingVector( const PhysicalFontFace*, const Ucs2OStrMap** ppNonEncoded ) = 0; - virtual const void* GetEmbedFontData( const PhysicalFontFace*, - const sal_Ucs* pUnicodes, - sal_Int32* pWidths, - FontSubsetInfo& rInfo, - long* pDataLen ) = 0; - virtual void FreeEmbedFontData( const void* pData, long nDataLen ) = 0; - virtual void GetGlyphWidths( const PhysicalFontFace*, - bool bVertical, - Int32Vector& rWidths, - Ucs2UIntMap& rUnicodeEnc ) = 0; - virtual bool GetGlyphBoundRect( sal_GlyphId nIndex, Rectangle& ) = 0; - virtual bool GetGlyphOutline( sal_GlyphId nIndex, ::basegfx::B2DPolyPolygon& ) = 0; - virtual SalLayout* GetTextLayout( ImplLayoutArgs&, int nFallbackLevel ) = 0; - virtual void DrawServerFontLayout( const ServerFontLayout& ) = 0; - virtual SystemFontData GetSysFontData( int nFallbackLevel ) const = 0; + virtual void SetTextColor( SalColor nSalColor ) = 0; + virtual sal_uInt16 SetFont( FontSelectPattern*, int nFallbackLevel ) = 0; + virtual void GetFontMetric( ImplFontMetricData*, int nFallbackLevel ) = 0; + virtual const FontCharMapPtr GetFontCharMap() const = 0; + virtual bool GetFontCapabilities(vcl::FontCapabilities &rFontCapabilities) const = 0; + virtual void GetDevFontList( PhysicalFontCollection* ) = 0; + virtual void ClearDevFontCache() = 0; + virtual bool AddTempDevFont( PhysicalFontCollection*, const OUString& rFileURL, const OUString& rFontName ) = 0; + virtual bool CreateFontSubset( + const OUString& rToFile, + const PhysicalFontFace*, + sal_GlyphId* pGlyphIDs, + sal_uInt8* pEncoding, + sal_Int32* pWidths, + int nGlyphs, + FontSubsetInfo& rInfo) = 0; + + virtual const Ucs2SIntMap* GetFontEncodingVector( const PhysicalFontFace*, const Ucs2OStrMap** ppNonEncoded ) = 0; + virtual const void* GetEmbedFontData( + const PhysicalFontFace*, + const sal_Ucs* pUnicodes, + sal_Int32* pWidths, + FontSubsetInfo& rInfo, + long* pDataLen ) = 0; + + virtual void FreeEmbedFontData( const void* pData, long nDataLen ) = 0; + virtual void GetGlyphWidths( + const PhysicalFontFace*, + bool bVertical, + Int32Vector& rWidths, + Ucs2UIntMap& rUnicodeEnc ) = 0; + + virtual bool GetGlyphBoundRect( sal_GlyphId nIndex, Rectangle& ) = 0; + virtual bool GetGlyphOutline( sal_GlyphId nIndex, ::basegfx::B2DPolyPolygon& ) = 0; + virtual SalLayout* GetTextLayout( ImplLayoutArgs&, int nFallbackLevel ) = 0; + virtual void DrawServerFontLayout( const ServerFontLayout& ) = 0; + virtual SystemFontData GetSysFontData( int nFallbackLevel ) const = 0; }; #endif -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: */ |