diff options
author | Herbert Duerr <hdu@openoffice.org> | 2001-02-15 15:09:41 +0000 |
---|---|---|
committer | Herbert Duerr <hdu@openoffice.org> | 2001-02-15 15:09:41 +0000 |
commit | 464b643aacd3417284c3180e0b214caac27d97df (patch) | |
tree | 685e9e047b383342a3280b389c1b260410ef2e60 /vcl/source/glyphs/gcach_vdev.hxx | |
parent | 7edef4b299f3896ffe92265a42e1a920ca3a78e6 (diff) |
extend glyphcache architecture with platform peers
Diffstat (limited to 'vcl/source/glyphs/gcach_vdev.hxx')
-rw-r--r-- | vcl/source/glyphs/gcach_vdev.hxx | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/vcl/source/glyphs/gcach_vdev.hxx b/vcl/source/glyphs/gcach_vdev.hxx index 4eae45f9cd7b..246550df0f42 100644 --- a/vcl/source/glyphs/gcach_vdev.hxx +++ b/vcl/source/glyphs/gcach_vdev.hxx @@ -2,9 +2,9 @@ * * $RCSfile: gcach_vdev.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hdu $ $Date: 2000-11-16 13:42:52 $ + * last change: $Author: hdu $ $Date: 2001-02-15 16:08:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,18 +65,23 @@ class VirtDevServerFont : public ServerFont { +public: + virtual bool GetGlyphBitmap1( int nGlyphIndex, RawBitmap& ) const; + virtual bool GetGlyphBitmap8( int nGlyphIndex, RawBitmap& ) const; + virtual bool GetGlyphOutline( int nGlyphIndex, PolyPolygon& ) const; + protected: friend GlyphCache; - static VirtDevServerFont* CreateFont( const ImplFontSelectData& ); - virtual void FetchFontMetric( ImplFontMetricData&, long& rFactor ) const; - virtual int GetGlyphIndex( sal_Unicode ) const; - virtual void SetGlyphData( int nGlyphIndex, bool bWithBitmap, GlyphData& ) const; - virtual bool GetGlyphOutline( int nGlyphIndex, bool bOptimize, PolyPolygon& ) const; - virtual ULONG GetKernPairs( ImplKernPairData** ) const = 0; - static long FetchFontList( ImplDevFontList* ); static void ClearFontList(); + static VirtDevServerFont* CreateFont( const ImplFontSelectData& ); + virtual void FetchFontMetric( ImplFontMetricData&, long& rFactor ) const; + virtual ULONG GetKernPairs( ImplKernPairData** ) const; + + virtual int GetGlyphIndex( sal_Unicode ) const; + virtual void InitGlyphData( int nGlyphIndex, GlyphData& ) const; + private: VirtDevServerFont( const ImplFontSelectData& ); }; |