summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authortsahi glik <tsahi.glik@cloudon.com>2014-01-16 12:51:44 -0800
committertsahi glik <tsahi.glik@cloudon.com>2014-01-16 12:55:57 -0800
commita5351434fbea1126961f5dbaa986e7c9e686c24e (patch)
tree25dc716144a7e9414c1bfc5fa754bdf2fcea65f1 /vcl/inc
parent2646b1594de2c156571e66e9f7eb1afbde863a3b (diff)
fix rendering issues in iOS with aqua
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/quartz/salbmp.h4
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;