summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 20:22:27 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 20:22:27 +1000
commit54a5880ba04b55460bd7854b17d5edb94a78cf91 (patch)
tree5e3e61906a81cc8766f75a0d5111ffa7d2138342 /vcl
parent0f83b6379af62a9a0556371ee82a152c7d4e93b3 (diff)
VCL move SetAntialiasing from outdev.cxx to outdevstate.cxx
Change-Id: I0d0336f4f3a7add0f11f7b8d19aec517c3d8c9af
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/outdev.cxx17
-rw-r--r--vcl/source/outdev/outdevstate.cxx19
2 files changed, 19 insertions, 17 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index c0dd42a3844f..bd2ad9a1f23a 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -1037,21 +1037,4 @@ void OutputDevice::DrawCheckered(const Point& rPos, const Size& rSize, sal_uInt3
Pop();
}
-void OutputDevice::SetAntialiasing( sal_uInt16 nMode )
-{
- if ( mnAntialiasing != nMode )
- {
- mnAntialiasing = nMode;
- mbInitFont = true;
-
- if(mpGraphics)
- {
- mpGraphics->setAntiAliasB2DDraw(mnAntialiasing & ANTIALIASING_ENABLE_B2DDRAW);
- }
- }
-
- if( mpAlphaVDev )
- mpAlphaVDev->SetAntialiasing( nMode );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx
index 908abc3e37f2..7a1ae462bd1f 100644
--- a/vcl/source/outdev/outdevstate.cxx
+++ b/vcl/source/outdev/outdevstate.cxx
@@ -262,6 +262,25 @@ void OutputDevice::EnableOutput( bool bEnable )
mpAlphaVDev->EnableOutput( bEnable );
}
+
+void OutputDevice::SetAntialiasing( sal_uInt16 nMode )
+{
+ if ( mnAntialiasing != nMode )
+ {
+ mnAntialiasing = nMode;
+ mbInitFont = true;
+
+ if(mpGraphics)
+ {
+ mpGraphics->setAntiAliasB2DDraw(mnAntialiasing & ANTIALIASING_ENABLE_B2DDRAW);
+ }
+ }
+
+ if( mpAlphaVDev )
+ mpAlphaVDev->SetAntialiasing( nMode );
+}
+
+
void OutputDevice::SetFillColor()
{