From a5351434fbea1126961f5dbaa986e7c9e686c24e Mon Sep 17 00:00:00 2001 From: tsahi glik Date: Thu, 16 Jan 2014 12:51:44 -0800 Subject: fix rendering issues in iOS with aqua --- vcl/inc/quartz/salbmp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vcl/inc') diff --git a/vcl/inc/quartz/salbmp.h b/vcl/inc/quartz/salbmp.h index 510c64faa38c..7d3d7df63efe 100644 --- a/vcl/inc/quartz/salbmp.h +++ b/vcl/inc/quartz/salbmp.h @@ -55,6 +55,7 @@ public: int mnWidth; int mnHeight; sal_uInt32 mnBytesPerRow; + void* maExternalData; public: QuartzSalBitmap(); @@ -70,6 +71,8 @@ public: virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, Size& rSize, bool bMask = false ); + // creating quartz wrapper from existing buffer + bool Create( BitmapBuffer& buffer); void Destroy(); @@ -93,6 +96,7 @@ private: public: bool Create( CGLayerRef xLayer, int nBitCount, int nX, int nY, int nWidth, int nHeight ); + bool Create( CGImageRef xImage, int nBitCount, int nX, int nY, int nWidth, int nHeight ); public: CGImageRef CreateWithMask( const QuartzSalBitmap& rMask, int nX, int nY, int nWidth, int nHeight ) const; -- cgit