summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-10-14 11:59:04 -0300
committerMichael Meeks <michael.meeks@collabora.com>2014-10-14 12:04:13 -0300
commit578fd01ee9d1a3b550e115d5db64523c7f57efde (patch)
treec3a5bd18e3bee11aba9baf33c384c5be5a05d820 /include
parent9f8605b04dfecefabe73035aae50443ad93da878 (diff)
basebmp: accelerated method to create a clipping device.
This was some staggering proportion of tiled rendering documents with complex clipping; it seems 'clear' is not what memset is for 1bit clip masks. Change-Id: I9142ffb7d7016603feb7782d6f03b9992b9494e3
Diffstat (limited to 'include')
-rw-r--r--include/basebmp/bitmapdevice.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/basebmp/bitmapdevice.hxx b/include/basebmp/bitmapdevice.hxx
index 1a815144b03a..a4c38e8c0d6b 100644
--- a/include/basebmp/bitmapdevice.hxx
+++ b/include/basebmp/bitmapdevice.hxx
@@ -690,6 +690,10 @@ 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.