From 578fd01ee9d1a3b550e115d5db64523c7f57efde Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 14 Oct 2014 11:59:04 -0300 Subject: 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 --- include/basebmp/bitmapdevice.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/basebmp/bitmapdevice.hxx') 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. -- cgit