canvas/source/cairo/cairo_canvashelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9134ff3fa0ce47a5c2e0ded563a0bb8b8fc3206f
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Wed Nov 27 13:11:04 2013 +0100

    cairo canvas: Line dashing size depends on the line width.
    
    Change-Id: I6a3f563b6effd37b448ec3e8463a87879e0566d4

diff --git a/canvas/source/cairo/cairo_canvashelper.cxx 
b/canvas/source/cairo/cairo_canvashelper.cxx
index ff2d71e..34886b0 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -1229,7 +1229,7 @@ namespace cairocanvas
             {
                 double* pDashArray = new double[ 
strokeAttributes.DashArray.getLength() ];
                 for( sal_Int32 i=0; i<strokeAttributes.DashArray.getLength(); 
i++ )
-                    pDashArray[i]=strokeAttributes.DashArray[i];
+                    pDashArray[i] = strokeAttributes.DashArray[i] * w;
                 cairo_set_dash( mpCairo.get(), pDashArray, 
strokeAttributes.DashArray.getLength(), 0 );
                 delete[] pDashArray;
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to