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

Re: gEDA-dev: pre-cvs "noscreen" work



On Wed, 2007-02-14 at 00:34 +0000, Peter Clifton wrote:

> There are a few patches which aren't applied in git, or CVS yet, many of
> which concerning the correct way to cache screen coordinates. (The jury
> is still out on that issue).

TYPO: Of course.. after these patches, we no-longer cache object bounds
in screen coordinates, it is now done in world coordinates.

Recalculation to keep these bounds up-to-date is then just needed when
objects are edited. This was the first, and major stumbling block
encountered when I was looking at allowing multiple open views to one
schematic. (Thanks to Patrick for pointing out the issue!)

As a side benefit, working in world coordinates has cut well over a
thousand lines of (near) duplicated code. Having gone over the code-base
and spent a lot of time testing for regressions has allowed me to
stumble across, and track down many other bugs in the process.

I'm hoping that at least some of these changes (the more tested ones at
least) can be merged with CVS HEAD soon after the next release.

Regards,

Peter C




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