cairo canvas: Line dashing size depends on the line width.

Change-Id: I6a3f563b6effd37b448ec3e8463a87879e0566d4