[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Re: PCB: Moving the endpoint of a line



Kai-Martin Knaak wrote:

in closely the program requires that you grab it more accurately;


- the center can be hard to accurately estimate and when zoomed

                                          ^^^^^^^^^^^^^^^^^^^^^^^
Why is this so? It sort of nullifies the benefit of zooming in.




The reason is fairly simple. If you zoom in close enough the actual center might be on the far left edge of the screen, or the far right edge of the screen. It would make the zoom meaningless if when you zoom in to get 0.01 mil detail the position of the cursor on the screen represented one point.

The way the slop works is that if the crosshair is within 5 screen pixels of an end-point, it considers that you mean the end-point. If you are zoomed in such that the line width is 180 pixels across the screen, you've got to hit the center very precisely. If you are zoomed out such that the line is only 2 pixels wide as seen on the screen then you don't even have to quite be on the line to grab the end. The value 5 is the "SLOP" constant found in seach.h in the src directory. You can change this and recompile to make it more "forgiving".

It shouldn't be very hard to visually highlight the circle at the end of the line when the cursor hovers over it for a moment. It's a fine idea that I will probably look into some time. Right now I'm concentrating on solving the dead copper inside polygons issue.

harry




_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user