summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-24 10:09:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-25 09:20:50 +0100
commitedf56cb4300f68a3e513420feccbf8d5287a0428 (patch)
tree9ed4ce3eea6fed924a12179106ad494bf7b1d09d /vcl/unx/gtk3
parent65d31de78dd3f5055102122e60b7261f8b170df5 (diff)
gtk3: move cairo region clipping to svp
Change-Id: I4b4f09ee3fb7edbda3b6bb5af024c0966e3a2082
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r--vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index 9457902d9732..985db9ef8f35 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -2103,18 +2103,4 @@ cairo_t* GtkSalGraphics::getCairoContext() const
return mpFrame->getCairoContext();
}
-void GtkSalGraphics::clipRegion(cairo_t* cr)
-{
- if (!m_aClipRegion.IsEmpty())
- {
- RectangleVector aRectangles;
- m_aClipRegion.GetRegionRectangles(aRectangles);
- for (RectangleVector::const_iterator aRectIter(aRectangles.begin()); aRectIter != aRectangles.end(); ++aRectIter)
- {
- cairo_rectangle(cr, aRectIter->Left(), aRectIter->Top(), aRectIter->GetWidth(), aRectIter->GetHeight());
- }
- cairo_clip(cr);
- }
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */