diff options
author | Herbert Duerr [hdu] <herbert.duerr@oracle.com> | 2010-11-30 13:42:27 +0100 |
---|---|---|
committer | Herbert Duerr [hdu] <herbert.duerr@oracle.com> | 2010-11-30 13:42:27 +0100 |
commit | dce4eab176d0b595626935739c84a68738f8d66e (patch) | |
tree | 0ee3118a9287a9a203526182c18cbbc8109ba7b8 /canvas | |
parent | 8dc3743ca56382374183bec5cd1a11d53f3085b8 (diff) |
#i96685# fix drawing of gradients in vcl-canvas
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/vcl/canvashelper_texturefill.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx index c1e71ceb943f..b1d1f331781b 100644 --- a/canvas/source/vcl/canvashelper_texturefill.cxx +++ b/canvas/source/vcl/canvashelper_texturefill.cxx @@ -211,6 +211,8 @@ namespace vclcanvas if( (rColors.size() % 2) != (nStepCount % 2) ) ++nStepCount; + rOutDev.SetLineColor(); + basegfx::tools::KeyStopLerp aLerper(rValues.maStops); // only iterate nStepCount-1 steps, as the last strip is @@ -366,6 +368,8 @@ namespace vclcanvas // color). ++nStepCount; + rOutDev.SetLineColor(); + basegfx::tools::KeyStopLerp aLerper(rValues.maStops); if( !bFillNonOverlapping ) |