Login  Register

Re: Lines pattern scaling

Posted by johnfound on Dec 15, 2024; 12:20am
URL: https://forum.librecad.org/Lines-pattern-scaling-tp5725741p5725819.html

sand1024 wrote
Oh, that's great - I'll take a look on this in details, especially for the pattern scaling.  I'm slightly concerned there regarding different drawing units, so I think we have to check this deeper.
Oh, wait a minute. This is not the correct solution. Now I know what is the problem and think I have the correct solution. It is simple and will commit it tomorrow. The trick is that Qt does not measure the line patterns in pixels, but in line widths. So we need to convert from mm to line widths, not to pixels.