diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-25 12:39:54 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-25 13:01:36 +1000 |
commit | da8aa9385153893d8da666b490825aecb6fe87dc (patch) | |
tree | 5f1d47329d72ab2e3dbeef31e2c0db12f4bc7014 /include | |
parent | 927617d69a25cffffd96aed8aa14a738b2ba6983 (diff) |
VCL: Reorganize and rename wallpaper functions
Grouped wallpaper functions in outdev.hxx, also changed the function
names:
+ ImplDrawColorWallpaper -> DrawColorWallpaper
+ ImplDrawBitmapWallpaper -> DrawBitmapWallpaper
+ ImplDrawWallpaper -> DrawWallpaper
Change-Id: I0eb9c21bf2f6a336df22cd27cd1557f2c795f792
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index e4b40ce3393c..82f6df21ada6 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -534,15 +534,19 @@ protected: SAL_DLLPRIVATE void ImplDrawPolyPolygonWithB2DPolyPolygon(const basegfx::B2DPolyPolygon& rB2DPolyPoly); ///@} -public: /** @name Wallpaper functions */ ///@{ - SAL_DLLPRIVATE void ImplDrawWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); - SAL_DLLPRIVATE void ImplDrawColorWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); - SAL_DLLPRIVATE void ImplDrawBitmapWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); +public: + void DrawWallpaper( const Rectangle& rRect, const Wallpaper& rWallpaper ); + +private: + SAL_DLLPRIVATE void DrawWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); + SAL_DLLPRIVATE void DrawColorWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); + SAL_DLLPRIVATE void DrawBitmapWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper ); ///@} +private: SAL_DLLPRIVATE void ImplDrawOutDevDirect ( const OutputDevice* pSrcDev, SalTwoRect& rPosAry ); SAL_DLLPRIVATE void ImplPrintTransparent ( const Bitmap& rBmp, const Bitmap& rMask, @@ -553,6 +557,7 @@ public: /** @name Frame functions */ ///@{ +private: SAL_DLLPRIVATE void ImplGetFrameDev ( const Point& rPt, const Point& rDevPt, const Size& rDevSize, OutputDevice& rOutDev ); SAL_DLLPRIVATE void ImplDrawFrameDev ( const Point& rPt, const Point& rDevPt, const Size& rDevSize, @@ -562,11 +567,13 @@ public: /** @name Layout functions */ ///@{ - SAL_DLLPRIVATE bool ImplIsRecordLayout() const; - virtual bool HasMirroredGraphics() const; +public: + SAL_DLLPRIVATE bool ImplIsAntiparallel() const ; SAL_DLLPRIVATE void ReMirror( Point &rPoint ) const; SAL_DLLPRIVATE void ReMirror( Rectangle &rRect ) const; SAL_DLLPRIVATE void ReMirror( Region &rRegion ) const; + SAL_DLLPRIVATE bool ImplIsRecordLayout() const; + virtual bool HasMirroredGraphics() const; SAL_DLLPRIVATE SalLayout* ImplLayout( const OUString&, sal_Int32 nIndex, sal_Int32 nLen, const Point& rLogicPos = Point(0,0), long nLogicWidth=0, const sal_Int32* pLogicDXArray=NULL ) const; @@ -574,7 +581,6 @@ public: long nPixelWidth, const sal_Int32* pPixelDXArray ) const; SAL_DLLPRIVATE SalLayout* ImplGlyphFallbackLayout( SalLayout*, ImplLayoutArgs& ) const; // tells whether this output device is RTL in an LTR UI or LTR in a RTL UI - SAL_DLLPRIVATE bool ImplIsAntiparallel() const ; SAL_DLLPRIVATE SalLayout* getFallbackFont(ImplFontEntry &rFallbackFont, FontSelectPattern &rFontSelData, int nFallbackLevel, ImplLayoutArgs& rLayoutArgs) const; @@ -1486,7 +1492,6 @@ public: ///@} public: - void DrawWallpaper( const Rectangle& rRect, const Wallpaper& rWallpaper ); void DrawWaveLine( const Point& rStartPos, const Point& rEndPos ); void DrawGrid( const Rectangle& rRect, const Size& rDist, sal_uLong nFlags ); |