[Libreoffice-commits] core.git: Branch 'feature/opengl-vcl' - vcl/win
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed Oct 29 17:02:04 PDT 2014
vcl/win/source/gdi/gdiimpl.cxx | 6 ++++++
vcl/win/source/gdi/gdiimpl.hxx | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
New commits:
commit 6656e8f3d07e208b105a69869fe005dfb8da8e20
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Thu Oct 30 01:01:16 2014 +0100
implement gradient rendering method for windows backend
Change-Id: I894b14d97227d695f5cfc5e13958413c36295d7d
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index be5830a..7e99a8d 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 d1b5cfd..42765aa 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: */
More information about the Libreoffice-commits
mailing list