diff options
author | Armin Weiss <aw@openoffice.org> | 2007-11-07 13:31:19 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2007-11-07 13:31:19 +0000 |
commit | e30ad6028be5eea3bad01bc1b813eb83746bfdd9 (patch) | |
tree | 304a33fac525514d04a9dab33d8ab8a868c144d8 /drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | |
parent | 1c80385e37a1a662dabf780c5da8731940ed562c (diff) |
#i39532# committing to have a base for HDU
Diffstat (limited to 'drawinglayer/source/processor2d/vclhelperbufferdevice.cxx')
-rw-r--r-- | drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx index c1b813a1e522..b257aef16e7b 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vclhelperbufferdevice.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: aw $ $Date: 2007-03-06 12:34:16 $ + * last change: $Author: aw $ $Date: 2007-11-07 14:27:27 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -80,6 +80,9 @@ namespace drawinglayer aNewMapMode.SetOrigin(Point(-aLogicTopLeft.X(), -aLogicTopLeft.Y())); maContent.SetMapMode(aNewMapMode); + + // copy AA flag for new target + maContent.SetAntialiasing(mrOutDev.GetAntialiasing()); } } @@ -132,6 +135,8 @@ namespace drawinglayer mpMask = new VirtualDevice(mrOutDev, 1); mpMask->SetOutputSizePixel(maDestPixel.GetSize(), true); mpMask->SetMapMode(maContent.GetMapMode()); + + // do NOT copy AA flag for mask! } return *mpMask; @@ -144,6 +149,8 @@ namespace drawinglayer mpAlpha = new VirtualDevice(); mpAlpha->SetOutputSizePixel(maDestPixel.GetSize(), true); mpAlpha->SetMapMode(maContent.GetMapMode()); + + // do NOT copy AA flag for alpha! } return *mpAlpha; |