gEDA-dev: Fix drawing artifacts in gschem when dragging grips
Peter Clifton
pcjc2 at cam.ac.uk
Tue Jul 31 10:20:02 EDT 2007
Hi,
I've been playing with fixing some drawing artifacts in gschem when
dragging nets about (by their grips).
I think I've got some code which works better, but it needs more
testing. If anyone feels like helping to test the changes, please grab
the patches from:
http://repo.or.cz/w/geda-gaf/pcjc2.git
You'll want the patches with the short logs:
Attempt to fix dropping of grab-handle and cue artifacts.
Fix o_net_consolidate_segments() to consolidate with all joined lines
Remove old code commented out in o_net_consolidate_segments()
Make "grips" a fixed size in pixels, adjustable in the gschem-rc file.
What are peoples opinions of making the grips a fixed size in pixels?
IMHO, this is the "right thing" to do, although we might need to expand
them to always be larger than the red "end of line" cues if you zoom in
too far.
So far I've been unable to fix the code in o_move.c to give similar
improvements for moving objects about. It ought to be possible, it just
requires more thought due to all the extra rubber-banding.
If the improvements don't appear to introduce any bugs, I'll clean up
the patches for pushing.
Regards,
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
More information about the geda-dev
mailing list