[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: Sense of world coordinates
Hi Peter,
I can't say too much since my 'net access is less than stellar, but...
[snip]
>In the process of going through my patches in detail, I've re-visited an
>issue I came across - that of world-coordinates having a different sense
>of up/down to screen coords.
>
>I'm inclined to fix this so that top is top, bottom is bottom - even if
>it requires re-work in places which make incorrect assumptions in this
>respect.
Per your previous e-mail, yes the meaning of top/left, bottom/right
is a little odd. The file format document describes the coordinate space.
The code assumes that top is the smallest y value and left is the smallest
x value. Bottom is the largest y value and right is the largest x value.
The reason for this is historic and I'm not opposed to fixing this as
long as it is consistent everywhere (and of course works). It might be
even better to drop the whole top, left, right, bottom variable names
and pick something more obvious.
-Ales
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev