Hi!

Apparently, the width (in pixels) of a stroke in athens seems to vary with the size of the path. Am I right? 

For example, I have the following rendering:


There is just one code to draw a box, which is:

athensCanvas pathTransform restoreAfter: [
athensCanvas pathTransform 
translateBy: rectangle center;
scaleBy: rectangle extent / 2.

athensCanvas
setPaint: color;
drawShape: self path.

strokePaint ifNotNil: 
[ (athensCanvas
setStrokePaint: strokePaint) width: 0.1.
athensCanvas drawShape: path  ]
]

Having a width of 1 makes a very large border.
Do I miss something?

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



Reply via email to