agg stroke.width question

Hi,

I am making the following transformation inside a function:

...
transform = agg.trans_affine(*tm)
curve = agg.conv_curve_path(path)
transcurve = agg.conv_transform_curve(curve, transform)
stroke = agg.conv_stroke_transcurve(transcurve)
stroke.width(strokeWidth)
...

I am getting the strokeWidth* *and* *tm parameters outside the function. Is there any way the strokeWidth also to be affected by the transformation made?
For example if I scale a curve, its countour to be scaled also.

Thank you in advance!
Regards
Z.Danevska