diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-27 22:57:32 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-28 00:13:24 +1000 |
commit | 99ab3189c835bca4766b7539397b4a581bc67677 (patch) | |
tree | b3db9a2c9bf0fd5656b66165617dbd93ec02fdf0 /vcl | |
parent | f2e546efd96b5a8b7c0b339cf2673a9b1996190b (diff) |
VCL: rename TryDrawPolyLineDirectNoAA to TryDrawPolyLineDirectNoAACheck
Change-Id: I7355db3294f5aaa3b4f4bac802ba064724ad2214
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/polyline.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/outdev/polyline.cxx b/vcl/source/outdev/polyline.cxx index d261ccebc1f5..d0f2f619a8c3 100644 --- a/vcl/source/outdev/polyline.cxx +++ b/vcl/source/outdev/polyline.cxx @@ -60,7 +60,7 @@ void OutputDevice::DrawPolyLine( const Polygon& rPoly ) // use b2dpolygon drawing if possible if(bTryAA) { - if ( TryDrawPolyLineDirectNoAA( rPoly.getB2DPolygon() ) ) + if ( TryDrawPolyLineDirectNoAACheck( rPoly.getB2DPolygon() ) ) { basegfx::B2DPolygon aB2DPolyLine(rPoly.getB2DPolygon()); const ::basegfx::B2DHomMatrix aTransform = ImplGetDeviceTransformation(); @@ -170,7 +170,7 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon, // use b2dpolygon drawing if possible if(bTryAA) { - if ( TryDrawPolyLineDirectNoAA(rB2DPolygon, fLineWidth, 0.0, eLineJoin, eLineCap) ) + if ( TryDrawPolyLineDirectNoAACheck(rB2DPolygon, fLineWidth, 0.0, eLineJoin, eLineCap) ) return; } @@ -214,7 +214,7 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon, // to avoid optical gaps for(sal_uInt32 a(0); a < aAreaPolyPolygon.count(); a++) { - TryDrawPolyLineDirectNoAA(aAreaPolyPolygon.getB2DPolygon(a)); + TryDrawPolyLineDirectNoAACheck(aAreaPolyPolygon.getB2DPolygon(a)); } } } @@ -278,7 +278,7 @@ void OutputDevice::DrawPolyLineWithLineInfo(const Polygon& rPoly, const LineInfo mpAlphaVDev->DrawPolyLine( rPoly, rLineInfo ); } -bool OutputDevice::TryDrawPolyLineDirectNoAA( const basegfx::B2DPolygon& rB2DPolygon, +bool OutputDevice::TryDrawPolyLineDirectNoAACheck( const basegfx::B2DPolygon& rB2DPolygon, double fLineWidth, double fTransparency, basegfx::B2DLineJoin eLineJoin, @@ -346,7 +346,7 @@ bool OutputDevice::TryDrawPolyLineDirect( const basegfx::B2DPolygon& rB2DPolygon if(bTryAA) { - if(TryDrawPolyLineDirectNoAA(rB2DPolygon, fLineWidth, fTransparency, eLineJoin, eLineCap)) + if(TryDrawPolyLineDirectNoAACheck(rB2DPolygon, fLineWidth, fTransparency, eLineJoin, eLineCap)) { // worked, add metafile action (if recorded) and return true if( mpMetaFile ) |