diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-19 11:51:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-23 14:25:59 +0000 |
commit | b639fe60eab2a221e23dc9d509f9281857d656a3 (patch) | |
tree | df756046e58d3b36891676b8c45449a3ff6a2223 /include/vcl/salgtype.hxx | |
parent | establish that Virtual Devices either match Physical Device depth or ... (diff) | |
download | core-b639fe60eab2a221e23dc9d509f9281857d656a3.tar.gz core-b639fe60eab2a221e23dc9d509f9281857d656a3.zip |
VirtualDevices either match another device depth, or are 1 bit
cairo can therefore always render to a svp virtual device with
need for a fallback
Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
Diffstat (limited to 'include/vcl/salgtype.hxx')
-rw-r--r-- | include/vcl/salgtype.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx index 59654f6595d5..a43a19db72b4 100644 --- a/include/vcl/salgtype.hxx +++ b/include/vcl/salgtype.hxx @@ -22,7 +22,14 @@ #include <sal/types.h> -enum class DeviceFormat { NONE = -1, FULLCOLOR = 0, BITMASK = 1, GRAYSCALE = 8 }; +enum class DeviceFormat { + NONE = -1, + DEFAULT = 0, + BITMASK = 1, +#ifdef IOS + GRAYSCALE = 8 +#endif + }; typedef sal_uInt32 SalColor; #define MAKE_SALCOLOR( r, g, b ) ((SalColor)(((sal_uInt32)((sal_uInt8)(b))))|(((sal_uInt32)((sal_uInt8)(g)))<<8)|(((sal_uInt32)((sal_uInt8)(r)))<<16)) |