diff options
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/quartz/salbmp.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |