Prevent Silverlight Line Scaling

When using the ScaleTransformSilverlight class, it also scales the thickness of the strokes in the shapes that I'm showing. But what if I do not want this behavior? Is it possible to disable the scaling of strokes, or do I have to iterate over each shape object and set the inverse thickness?

+3
source share
1 answer

A ScaleTransformis a visualization transformation. It does not change the basic layout, it just changes the way it is drawn on the screen. It is impossible to have a scale of points, but not to have a scale of line thickness.

0
source

Source: https://habr.com/ru/post/1753255/


All Articles