summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-10-30 01:01:16 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-10-30 01:01:16 +0100
commit6656e8f3d07e208b105a69869fe005dfb8da8e20 (patch)
tree37df4acd8ee66492d42c999b75adf28b516a23df
parent813650eba8afd22eb6eca2bec9e2fd38b5b2e553 (diff)
implement gradient rendering method for windows backend
Change-Id: I894b14d97227d695f5cfc5e13958413c36295d7d
-rw-r--r--vcl/win/source/gdi/gdiimpl.cxx6
-rw-r--r--vcl/win/source/gdi/gdiimpl.hxx4
2 files changed, 9 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index be5830a9f77c..7e99a8decd6b 100644
--- a/vcl/win/source/gdi/gdiimpl.cxx
+++ b/vcl/win/source/gdi/gdiimpl.cxx
@@ -2362,4 +2362,10 @@ bool WinSalGraphicsImpl::drawTransformedBitmap(
return false;
}
+bool WinSalGraphicsImpl::drawGradient(const tools::PolyPolygon& /*rPolygon*/,
+ const Gradient& /*rGradient*/)
+{
+ return false;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/win/source/gdi/gdiimpl.hxx b/vcl/win/source/gdi/gdiimpl.hxx
index d1b5cfd4d72b..42765aa974b3 100644
--- a/vcl/win/source/gdi/gdiimpl.hxx
+++ b/vcl/win/source/gdi/gdiimpl.hxx
@@ -20,6 +20,7 @@
#include "salgdiimpl.hxx"
#include "win/svsys.h"
+#include <vcl/gradient.hxx>
class WinSalGraphics;
@@ -207,7 +208,8 @@ public:
sal_uInt8 nTransparency ) SAL_OVERRIDE;
-
+ virtual bool drawGradient(const tools::PolyPolygon& rPolygon,
+ const Gradient& rGradient) SAL_OVERRIDE;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */