summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-18 17:24:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-18 20:47:02 +0000
commit36fcdd5fd4f719dec7ff46593ebaab3995908324 (patch)
tree49b4d55b13e287fa3a23dfedeba2a43ef381c131 /include
parentbd25d89b7e6daf2a050d7f7ad996af2f083daca0 (diff)
devices are always top-down now
and remove some more unused out of tests code Change-Id: Ie63b03d1de754038d5477112ddfc9266dbf93709
Diffstat (limited to 'include')
-rw-r--r--include/basebmp/bitmapdevice.hxx56
1 files changed, 0 insertions, 56 deletions
diff --git a/include/basebmp/bitmapdevice.hxx b/include/basebmp/bitmapdevice.hxx
index 36ef6d8b34cd..16c89aa6b8b2 100644
--- a/include/basebmp/bitmapdevice.hxx
+++ b/include/basebmp/bitmapdevice.hxx
@@ -64,15 +64,6 @@ public:
*/
basegfx::B2IVector getSize() const;
- /** Query whether buffer starts with 0th scanline
-
- @return true, if the buffer memory starts with the 0th
- scanline, and false if it starts with the last one. The latter
- is e.g. the typical scan line ordering for the Windows BMP
- format.
- */
- bool isTopDown() const;
-
/** Query the size of the whole frame buffer
@ return the size of the whole frame buffer, the same as
@@ -112,40 +103,6 @@ public:
/// Check if this and the other BitmapDevice share a buffer
bool isSharedBuffer( const BitmapDeviceSharedPtr& rOther ) const;
- /** Clear whole device with given color
-
- This method works like a fill with the given color value,
- resulting in a bitmap uniformly colored in fillColor.
- */
- void clear( Color fillColor );
-
- /** Set given pixel to specified color
-
- @param rPt
- Pixel to set
-
- @param pixelColor
- Color value to set the pixel to
- */
- void setPixel( const basegfx::B2IPoint& rPt,
- Color pixelColor );
-
- /** Set given pixel to specified color
-
- @param rPt
- Pixel to set
-
- @param pixelColor
- Color value to set the pixel to
-
- @param rClip
- Clip mask to use. If the clip mask is 1 at the given pixel
- position, no change will take place.
- */
- void setPixel( const basegfx::B2IPoint& rPt,
- Color pixelColor,
- const BitmapDeviceSharedPtr& rClip );
-
/** Get color value at given pixel
*/
Color getPixel( const basegfx::B2IPoint& rPt );
@@ -193,16 +150,6 @@ protected:
private:
BASEBMP_DLLPRIVATE virtual bool isCompatibleBitmap( const BitmapDeviceSharedPtr& bmp ) const = 0;
- BASEBMP_DLLPRIVATE virtual bool isCompatibleClipMask( const BitmapDeviceSharedPtr& bmp ) const = 0;
-
- BASEBMP_DLLPRIVATE virtual void clear_i( Color fillColor,
- const basegfx::B2IBox& rBounds ) = 0;
-
- BASEBMP_DLLPRIVATE virtual void setPixel_i( const basegfx::B2IPoint& rPt,
- Color lineColor) = 0;
- BASEBMP_DLLPRIVATE virtual void setPixel_i( const basegfx::B2IPoint& rPt,
- Color lineColor,
- const BitmapDeviceSharedPtr& rClip ) = 0;
BASEBMP_DLLPRIVATE virtual Color getPixel_i( const basegfx::B2IPoint& rPt ) = 0;
@@ -226,7 +173,6 @@ sal_Int32 BASEBMP_DLLPUBLIC getBitmapDeviceStrideForWidth(Format nScanlineFormat
/** Function to create a BitmapDevice for given scanline format
*/
BitmapDeviceSharedPtr BASEBMP_DLLPUBLIC createBitmapDevice( const basegfx::B2IVector& rSize,
- bool bTopDown,
Format nScanlineFormat );
/** Function to create a BitmapDevice for given scanline format
@@ -237,7 +183,6 @@ BitmapDeviceSharedPtr BASEBMP_DLLPUBLIC createBitmapDevice( const basegfx::B2IVe
format.
*/
BitmapDeviceSharedPtr BASEBMP_DLLPUBLIC createBitmapDevice( const basegfx::B2IVector& rSize,
- bool bTopDown,
Format nScanlineFormat,
const PaletteMemorySharedVector& rPalette );
@@ -248,7 +193,6 @@ BitmapDeviceSharedPtr BASEBMP_DLLPUBLIC createBitmapDevice( const basegfx::B2IVe
image of the specified area and format.
*/
BitmapDeviceSharedPtr BASEBMP_DLLPUBLIC createBitmapDevice( const basegfx::B2IVector& rSize,
- bool bTopDown,
Format nScanlineFormat,
const RawMemorySharedArray& rMem,
const PaletteMemorySharedVector& rPalette );