summaryrefslogtreecommitdiff
path: root/basebmp/source
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-11-03 20:25:04 -0700
committerJoseph Powers <jpowers27@cox.net>2011-11-03 20:46:00 -0700
commitd0d62edf3f398e9ddb2fd0f1f5fbe1dd0393ff47 (patch)
tree2b3ce98e224f70fc2ee8783420ca506afb6a3d3f /basebmp/source
parent651aa258c9f2b58e241b1fab7bfb4fc0dae9fbb2 (diff)
Cleanup basebmp a little
I removed 2 unused headers. I also stopped delivering a lot of headers that no one outside of basebmp cared about. I also removed the unused methods: basebmp::BitmapDevice::getPaletteEntryCount() const basebmp::BitmapDevice::getPixelData(basegfx::B2IPoint const&)
Diffstat (limited to 'basebmp/source')
-rw-r--r--basebmp/source/bitmapdevice.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index c307a4ac55e2..958b8755d49e 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -452,14 +452,6 @@ namespace
return maAccessor(pixel);
}
- virtual sal_uInt32 getPixelData_i( const basegfx::B2IPoint& rPt )
- {
- const DestIterator pixel( maBegin +
- vigra::Diff2D(rPt.getX(),
- rPt.getY()) );
- return maToUInt32Converter(maRawAccessor(pixel));
- }
-
template< typename Iterator, typename Col, typename RawAcc >
void implRenderLine2( const basegfx::B2IPoint& rPt1,
const basegfx::B2IPoint& rPt2,
@@ -1143,11 +1135,6 @@ PaletteMemorySharedVector BitmapDevice::getPalette() const
return mpImpl->mpPalette;
}
-sal_Int32 BitmapDevice::getPaletteEntryCount() const
-{
- return mpImpl->mpPalette ? mpImpl->mpPalette->size() : 0;
-}
-
void BitmapDevice::clear( Color fillColor )
{
clear_i( fillColor, mpImpl->maBounds );
@@ -1189,14 +1176,6 @@ Color BitmapDevice::getPixel( const basegfx::B2IPoint& rPt )
return Color();
}
-sal_uInt32 BitmapDevice::getPixelData( const basegfx::B2IPoint& rPt )
-{
- if( mpImpl->maBounds.isInside(rPt) )
- return getPixelData_i(rPt);
-
- return 0;
-}
-
void BitmapDevice::drawLine( const basegfx::B2IPoint& rPt1,
const basegfx::B2IPoint& rPt2,
Color lineColor,