summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-18 14:38:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-18 14:38:46 +0100
commit9e817f7dfb04efad98a1211ca129d19cb037554c (patch)
tree5501a8acf1fbed17d5205873bf3062495cd3504d
parentf06d19ace7f18df741236d5ce3120903582e1ddb (diff)
Resolve implRenderLine2 to renderClippedLine
Change-Id: Ia71d448dcf4ab09967f9ec1a7fd202aa4b55d52f
-rw-r--r--basebmp/source/bitmapdevice.cxx22
1 files changed, 3 insertions, 19 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index eb4616e2e98d..ed5937dfba15 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -404,22 +404,6 @@ namespace
return maToUInt32Converter(maRawAccessor(pixel));
}
- template< typename Iterator, typename Col, typename RawAcc >
- void implRenderLine2( const basegfx::B2IPoint& rPt1,
- const basegfx::B2IPoint& rPt2,
- const basegfx::B2IBox& rBounds,
- Col col,
- const Iterator& begin,
- const RawAcc& rawAcc )
- {
- renderClippedLine( rPt1,
- rPt2,
- rBounds,
- col,
- begin,
- rawAcc );
- }
-
template< typename Iterator, typename Accessor, typename RawAcc >
void implRenderLine( const basegfx::B2IPoint& rPt1,
const basegfx::B2IPoint& rPt2,
@@ -429,7 +413,7 @@ namespace
const Accessor& acc,
const RawAcc& rawAcc )
{
- implRenderLine2( rPt1,rPt2,rBounds,
+ renderClippedLine( rPt1,rPt2,rBounds,
maColorLookup( acc,
col ),
begin,
@@ -494,7 +478,7 @@ namespace
col));
const sal_uInt32 nVertices( aPoly.count() );
for( sal_uInt32 i=1; i<nVertices; ++i )
- implRenderLine2( basegfx::fround(aPoly.getB2DPoint(i-1)),
+ renderClippedLine( basegfx::fround(aPoly.getB2DPoint(i-1)),
basegfx::fround(aPoly.getB2DPoint(i)),
rBounds,
colorIndex,
@@ -502,7 +486,7 @@ namespace
acc );
if( nVertices > 1 && aPoly.isClosed() )
- implRenderLine2( basegfx::fround(aPoly.getB2DPoint(nVertices-1)),
+ renderClippedLine( basegfx::fround(aPoly.getB2DPoint(nVertices-1)),
basegfx::fround(aPoly.getB2DPoint(0)),
rBounds,
colorIndex,