diff options
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r-- | vcl/inc/salgdi.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 6cd814164059..9c99fcd5fa0b 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -80,8 +80,19 @@ public: virtual SalGraphicsImpl* GetImpl() const = 0; - void setAntiAlias(bool bNew) { m_bAntiAlias = bNew; } - bool getAntiAlias() const { return m_bAntiAlias; } + void setAntiAlias(bool bNew) + { + m_bAntiAlias = bNew; + + // Temporary store in both + if (GetImpl()) + GetImpl()->setAntiAlias(bNew); + } + + bool getAntiAlias() const + { + return m_bAntiAlias; + } // public SalGraphics methods, the interface to the independent vcl part |