cairo canvas: Line dashing size depends on the line width.
Change-Id: I6a3f563b6effd37b448ec3e8463a87879e0566d4
This commit is contained in:
parent
ec746c830c
commit
843b211820
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue