diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-16 20:58:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-18 11:34:10 +0000 |
commit | 08611cf8bfa18aa7605b268c0503bc5bffcc1a12 (patch) | |
tree | 1fdaf4cad337ddf71d5a5bf500de9fde0860636d /include | |
parent | db36d685ce009c621681c2fd2aa77be702297c66 (diff) |
don't need basebmp ClipDevice or DamageTracking now
Change-Id: I8a8594084eb5f4c8521cc4b73a94da6259069516
Diffstat (limited to 'include')
-rw-r--r-- | include/basebmp/bitmapdevice.hxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/basebmp/bitmapdevice.hxx b/include/basebmp/bitmapdevice.hxx index 60e645a7c29e..e68ea73a6ae6 100644 --- a/include/basebmp/bitmapdevice.hxx +++ b/include/basebmp/bitmapdevice.hxx @@ -45,22 +45,11 @@ namespace basebmp // Temporary. Use like the tools color object class Color; typedef std::shared_ptr< class BitmapDevice > BitmapDeviceSharedPtr; -typedef std::shared_ptr< struct IBitmapDeviceDamageTracker > IBitmapDeviceDamageTrackerSharedPtr; typedef boost::shared_array< sal_uInt8 > RawMemorySharedArray; typedef std::shared_ptr< const std::vector<Color> > PaletteMemorySharedVector; struct ImplBitmapDevice; -/// Interface for getting damage tracking events -struct IBitmapDeviceDamageTracker -{ - /// gets called when said region is clobbered - virtual void damaged(const basegfx::B2IBox& rDamageRect) const = 0; - -protected: - ~IBitmapDeviceDamageTracker() {} -}; - /** Definition of BitmapDevice interface Use the createBitmapDevice() function to create instances. @@ -114,18 +103,6 @@ public: */ RawMemorySharedArray getBuffer() const; - /// Query current damage tracking object (if any) - IBitmapDeviceDamageTrackerSharedPtr getDamageTracker() const; - - /** Set new damage tracking object - - @param rDamage - Object implementing the IBitmapDeviceDamageTracker interface - - every time some area of the surface gets clobbered, that object - gets notified. - */ - void setDamageTracker( const IBitmapDeviceDamageTrackerSharedPtr& rDamage ); - /** Get pointer to palette The returned pointer is const on purpose, since the @@ -648,9 +625,6 @@ private: DrawMode drawMode, const BitmapDeviceSharedPtr& rClip ) = 0; - BASEBMP_DLLPRIVATE virtual IBitmapDeviceDamageTrackerSharedPtr getDamageTracker_i() const = 0; - BASEBMP_DLLPRIVATE virtual void setDamageTracker_i( const IBitmapDeviceDamageTrackerSharedPtr& rDamage ) = 0; - BitmapDeviceSharedPtr getGenericRenderer() const; std::unique_ptr< ImplBitmapDevice > mpImpl; @@ -692,10 +666,6 @@ BitmapDeviceSharedPtr BASEBMP_DLLPUBLIC createBitmapDevice( const basegfx::B2IVe const PaletteMemorySharedVector& rPalette ); -/** Function to create a 1 bit grey clipping mask initialized to white. - */ -BitmapDeviceSharedPtr BASEBMP_DLLPUBLIC createClipDevice( const basegfx::B2IVector& rSize ); - /** Function to retrieve a subsetted BitmapDevice to the same memory. |