summaryrefslogtreecommitdiff
path: root/include/vcl/virdev.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-19 11:51:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-23 14:25:59 +0000
commitb639fe60eab2a221e23dc9d509f9281857d656a3 (patch)
treedf756046e58d3b36891676b8c45449a3ff6a2223 /include/vcl/virdev.hxx
parentc43a3a58677b467274ce6c21d7db1a6c0cc65cb4 (diff)
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/virdev.hxx')
-rw-r--r--include/vcl/virdev.hxx35
1 files changed, 18 insertions, 17 deletions
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx
index 76076ba657fd..cd6db85e9ab2 100644
--- a/include/vcl/virdev.hxx
+++ b/include/vcl/virdev.hxx
@@ -74,38 +74,39 @@ public:
/** Create a virtual device of size 1x1
@param nBitCount
- Bit depth of the generated virtual device. Use 0 here, to
- indicate: take default screen depth. Only 0, 1 and 8
- are allowed here, with 1 denoting binary mask and 8 a graylevel mask.
+ Device format of the generated virtual device. Use DeviceFormat::DEFAULT here, to
+ indicate: take default screen depth. Only DeviceFormat::BITMASK
+ is the other possibility to denote a binary mask.
*/
- explicit VirtualDevice(DeviceFormat eFormat = DeviceFormat::FULLCOLOR);
+ explicit VirtualDevice(DeviceFormat eFormat = DeviceFormat::DEFAULT);
/** Create a virtual device of size 1x1
@param rCompDev
The generated vdev will be compatible to this device.
- @param nBitCount
- Bit depth of the generated virtual device. Use 0 here, to
- indicate: take default screen depth.
+ @param eFormat
+ Device format of the generated virtual device. Use DeviceFormat::DEFAULT here, to
+ indicate: take default screen depth. Only DeviceFormat::BITMASK
+ is the other possibility to denote a binary mask.
*/
explicit VirtualDevice(const OutputDevice& rCompDev,
- DeviceFormat eFormat = DeviceFormat::FULLCOLOR);
+ DeviceFormat eFormat = DeviceFormat::DEFAULT);
/** Create a virtual device of size 1x1 with alpha channel
@param rCompDev
The generated vdev will be compatible to this device.
- @param nBitCount
- Bit depth of the generated virtual device. Use 0 here, to
- indicate: take default screen depth. Only 0 and 1
- are allowed here, with 1 denoting binary mask.
-
- @param nAlphaBitCount
- Bit depth of the generated virtual device. Use 0 here, to
- indicate: take default screen depth. Only 0 and 1
- are allowed here, with 1 denoting binary mask.
+ @param eFormat
+ Device format of the generated virtual device. Use DeviceFormat::DEFAULT here, to
+ indicate: take default screen depth. Only DeviceFormat::BITMASK
+ is the other possibility to denote a binary mask.
+
+ @param eAlphaFormat
+ Device format of the generated virtual device. Use DeviceFormat::DEFAULT here, to
+ indicate: take default screen depth. Only DeviceFormat::BITMASK
+ is the other possibility to denote a binary mask.
*/
explicit VirtualDevice( const OutputDevice& rCompDev,
DeviceFormat eFormat, DeviceFormat eAlphaFormat);