Rework o_drawbounding() to work without dropping artifacts in all modes.
commitb20fa7e79e364fc8b5188ce8f6d9d807d8185a44
authorPeter Clifton <pcjc2@cam.ac.uk>
Sun, 18 Nov 2007 19:19:20 +0000 (18 19:19 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Sun, 18 Nov 2007 19:19:20 +0000 (18 19:19 +0000)
treef7e09aee243bdac9455ce42c8e1a419c704ed484
parentc3e9ed7bd974e4c8f8adbd7d61b44a11ed0edfe1
Rework o_drawbounding() to work without dropping artifacts in all modes.

Simplifies both o_drawbounding(), and many functions which call it. No
special casing outside o_drawbounding() is needed for OUTLINE vs.
BOUNDINGBOX mode. Duplicated code has been reduced by making more use of
o_drawbounding() during copying / complex OBJECT placement.

This commit fixes bugs in code paths which aren't normally exercised, as
the BOUNDINGBOX drawing mode isn't used any more. The code could be
simplified further by removing the BOUNDINGBOX mode if desired.
gschem/include/prototype.h
gschem/src/o_basic.c
gschem/src/o_complex.c
gschem/src/o_copy.c
gschem/src/o_move.c
gschem/src/o_text.c
gschem/src/x_event.c