diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-01-11 13:21:24 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-01-11 15:32:18 +1100 |
commit | 67deb9f8079a578cf767a6e29a5bbe6eb0b4ecfe (patch) | |
tree | 51987f4451bfccfc861ba9a53560bd237aa0a26e /vcl/inc | |
parent | d3ec347c63eefa795b531a42b0ab5322873e0812 (diff) |
vcl: reident ServerFontLayout class definition
Change-Id: I02c84b1cb6e38e93e268bb388aecca1594917400
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/generic/glyphcache.hxx | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx index 82702dddafc5..e7da25cb6480 100644 --- a/vcl/inc/generic/glyphcache.hxx +++ b/vcl/inc/generic/glyphcache.hxx @@ -49,6 +49,7 @@ class RawBitmap; class ServerFont; class ServerFontLayout; class ServerFontLayoutEngine; + namespace basegfx { class B2DPolyPolygon; } namespace vcl { struct FontCapabilities; } @@ -286,23 +287,28 @@ private: class VCL_DLLPUBLIC ServerFontLayout : public GenericSalLayout { +public: + ServerFontLayout( ServerFont& ); + + virtual bool LayoutText( ImplLayoutArgs& ) SAL_OVERRIDE; + virtual void AdjustLayout( ImplLayoutArgs& ) SAL_OVERRIDE; + virtual void DrawText( SalGraphics& ) const SAL_OVERRIDE; + + void setNeedFallback( + ImplLayoutArgs& rArgs, + sal_Int32 nIndex, + bool bRightToLeft); + + ServerFont& GetServerFont() const { return mrServerFont; } + private: - ServerFont& mrServerFont; + ServerFont& mrServerFont; com::sun::star::uno::Reference<com::sun::star::i18n::XBreakIterator> mxBreak; // enforce proper copy semantic - SAL_DLLPRIVATE ServerFontLayout( const ServerFontLayout& ); - SAL_DLLPRIVATE ServerFontLayout& operator=( const ServerFontLayout& ); + SAL_DLLPRIVATE ServerFontLayout( const ServerFontLayout& ); + SAL_DLLPRIVATE ServerFontLayout& operator=( const ServerFontLayout& ); -public: - ServerFontLayout( ServerFont& ); - virtual bool LayoutText( ImplLayoutArgs& ) SAL_OVERRIDE; - virtual void AdjustLayout( ImplLayoutArgs& ) SAL_OVERRIDE; - virtual void DrawText( SalGraphics& ) const SAL_OVERRIDE; - void setNeedFallback(ImplLayoutArgs& rArgs, sal_Int32 nIndex, - bool bRightToLeft); - - ServerFont& GetServerFont() const { return mrServerFont; } }; class ServerFontLayoutEngine |