summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-06 08:57:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-06 11:47:54 +0100
commit41e955d4736b3a6cac08ea4d68f49b19c9df252b (patch)
tree4e7ae1b255384a2c099d6f7725631a726015c50d
parent6c6b45d3548a14c09a736dcc10c8862a20269ffa (diff)
#i113910# fix frame effect around images in cairo on some drivers
-rw-r--r--canvas/source/cairo/cairo_canvashelper.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index eec6a09fb215..60647d4f8224 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -1395,6 +1395,7 @@ namespace cairocanvas
::rtl::math::approxEqual( aMatrix.x0, 0 ) &&
::rtl::math::approxEqual( aMatrix.y0, 0 ) )
cairo_set_operator( mpCairo.get(), CAIRO_OPERATOR_SOURCE );
+ cairo_pattern_set_extend( cairo_get_source(mpCairo.get()), CAIRO_EXTEND_PAD );
cairo_rectangle( mpCairo.get(), 0, 0, aBitmapSize.Width, aBitmapSize.Height );
cairo_clip( mpCairo.get() );