ID: | 2937 |
From: | ge...@igor2.repo.hu |
Date: | Fri, 19 Apr 2019 17:19:09 +0200 (CEST) |
Subject: | Re: [pcb-rnd] bug: outline lines can't be moved to the board edge, |
in-reply-to: | 2934 from Peter Stuge <pe...@stuge.se> |
On Fri, 19 Apr 2019, Peter Stuge wrote: >Test case attached. Moving the upper line to the board edge (Y=0) >doesn't work. The lower three lines were drawn on the edge. Thanks; this is another manifestation of the good old "drawing area" problem. The inherited concept (and code) of drawing area, and trying to restrict drawing to within the drawing area (with not much succes in many cases) is just broken. In this specific case, the code is trying to keep all visible "pixels" of your line within the drawing area, that's why you can't move the centerline of the object to coord 0. (This is already a somewhat relaxed constraint, the original code also required the (invisible) clearance to be within the drawing area!) I will later on remove the drawing area limitation; the drawing area will become only a hint, and will not restrict where you can draw. However, I decided to delay this change, as it requires a slight data model moficiation too. I've added your report to the list of "why we need to get rid of the drawing area constraint" section of the TODO. Regards, Igor2
Reply subtree:
2937 Re: [pcb-rnd] bug: outline lines can't be moved to the board edge, from ge...@igor2.repo.hu