I created custom grid as Canvas, where I can draw rectangles which have Border with custom color. The grid can be resizable in X Y independently. Everything is ok until I scale Canvas. I use Transform -> LayoutTransform.
Problem is when I scale, it scale Line thicness or Border Thickness and when rectangle or border have rounded corners it is stretched. Question is how to avoid this unwanted effect? Is it possible?
For now, Grid lines when I zoom (in / out) I recalculate posistions of lines. I think the stretch Canvas save time but it make this unvanted effects (stretched line thickness, rounded corners, ...).