diff options
author | Caolán McNamara <cmc@openoffice.org> | 2010-08-16 14:20:39 +0100 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2010-08-16 14:20:39 +0100 |
commit | 40f797d028c472ff7f251bc125cad4d302092e0c (patch) | |
tree | c3dba56f0642df106ad65de62466e5d2e20ae023 /canvas/source | |
parent | deee1f03fb16af83c642121a5682af3398d90ece (diff) |
cmcfixes78: #i113910# get rid of frame effect in cairo-canvas
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper.cxx | 1 |
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() ); |