[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-dev: Noscreen branch
On Tue, 2007-03-27 at 10:56 +0930, David Rowe wrote:
> Hi Peter,
>
> > I have the noscreen branch in CVS ready for testing. It is absent of
> > screen coordinates in object data-structures, and now (as a bonus)
> > computes the bounding boxes of objects to include the thicknesses of the
> > lines used to draw an object. (Making selections at high zoom easier).
>
> Could u pls tell me (or point me at a link) that explains what
> "noscreen" is aiming to do?
Externally, it does nothing. In every respect to the user, it should
behave the same - apart from the bug fix to include the line-width in
its bounding box.
Internally, it removes from the object data-structures all notion of
coordinates in pixels (on the screen) - hence the name "noscreen".
It has stripped out all duplicated API where there was a "screen", and a
"world" version - instead preferring to make a coordinate conversion at
the appropriate point, then call a common API.
As screen coordinates change, a recalculation pass was done at each
zoom / pan. This is now gone, so zoom / pan should be faster. We also
make more use of the cached bounding box of objects (in world coords),
saving further time in various places.
Regards,
Peter C.
_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev