diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-14 18:22:39 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-16 07:33:52 +1000 |
commit | ecafbfe819c5026714b25a31f0bb9e72b16f7e25 (patch) | |
tree | ec4adaec065bc46f381215d26b7c781e29bdec48 /vcl/source/gdi | |
parent | 96cdea537fadab0e927ab98e2a6ff3216315ee7e (diff) |
Change acessibility level for private functions
The following functions should be private members functions of OutputDevice:
* DrawComplexGradient
* DrawLinearGradient
These were previously called ImplDrawComplexGradient and
ImplDrawLinearGradient.
Change-Id: I4fc996ddd578bca6738128fcc883709359534c95
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/outdev/gradient.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/outdev/gradient.cxx b/vcl/source/gdi/outdev/gradient.cxx index a109b80d9440..65a3b7b6cf2b 100644 --- a/vcl/source/gdi/outdev/gradient.cxx +++ b/vcl/source/gdi/outdev/gradient.cxx @@ -163,9 +163,9 @@ void OutputDevice::DrawGradient( const PolyPolygon& rPolyPoly, // if the clipping polypolygon is a rectangle, then it's the same size as the bounding of the // polypolygon, so pass in a NULL for the clipping parameter if( aGradient.GetStyle() == GradientStyle_LINEAR || rGradient.GetStyle() == GradientStyle_AXIAL ) - ImplDrawLinearGradient( aRect, aGradient, false, aClipPolyPoly.IsRect() ? NULL : &aClipPolyPoly ); + DrawLinearGradient( aRect, aGradient, false, aClipPolyPoly.IsRect() ? NULL : &aClipPolyPoly ); else - ImplDrawComplexGradient( aRect, aGradient, false, aClipPolyPoly.IsRect() ? NULL : &aClipPolyPoly ); + DrawComplexGradient( aRect, aGradient, false, aClipPolyPoly.IsRect() ? NULL : &aClipPolyPoly ); } Pop(); @@ -177,9 +177,9 @@ void OutputDevice::DrawGradient( const PolyPolygon& rPolyPoly, mpAlphaVDev->DrawPolyPolygon( rPolyPoly ); } -void OutputDevice::ImplDrawLinearGradient( const Rectangle& rRect, - const Gradient& rGradient, - bool bMtf, const PolyPolygon* pClipPolyPoly ) +void OutputDevice::DrawLinearGradient( const Rectangle& rRect, + const Gradient& rGradient, + bool bMtf, const PolyPolygon* pClipPolyPoly ) { // get BoundRect of rotated rectangle Rectangle aRect; @@ -372,7 +372,7 @@ void OutputDevice::ImplDrawLinearGradient( const Rectangle& rRect, } } -void OutputDevice::ImplDrawComplexGradient( const Rectangle& rRect, +void OutputDevice::DrawComplexGradient( const Rectangle& rRect, const Gradient& rGradient, bool bMtf, const PolyPolygon* pClipPolyPoly ) { @@ -683,9 +683,9 @@ void OutputDevice::AddGradientActions( const Rectangle& rRect, const Gradient& r aGradient.SetSteps( GRADIENT_DEFAULT_STEPCOUNT ); if( aGradient.GetStyle() == GradientStyle_LINEAR || aGradient.GetStyle() == GradientStyle_AXIAL ) - ImplDrawLinearGradient( aRect, aGradient, true, NULL ); + DrawLinearGradient( aRect, aGradient, true, NULL ); else - ImplDrawComplexGradient( aRect, aGradient, true, NULL ); + DrawComplexGradient( aRect, aGradient, true, NULL ); mpMetaFile->AddAction( new MetaPopAction() ); mpMetaFile = pOldMtf; |