Prevent Silverlight from scaling line width
When using the ScaleTransform
class, Silverlight also scale the thickness of the strokes on the shapes that I display. But what if I don't want this behaviour? Is开发者_开发知识库 it possible to disable the scaling of strokes, or will I have to iterate over every shape object and set the reciprocal thickness?
A ScaleTransform
is a render transform. It doesn't change the underlying layout just changes the way it is drawn on the screen. It isn't possible to have the points scale but not have the line thickness scale.
精彩评论