From: mgsloan <mg...@gm...> - 2007-04-17 05:31:41
|
On 4/16/07, MenTaLguY <me...@ry...> wrote: > > On Mon, 16 Apr 2007 14:04:46 -0700, "Sunburned Surveyor" < > sun...@gm...> wrote: > > I know that SVG uses a coordinate system in which the "X" or "northing" > > coordinate value increases as you move "down" the screen or page. Is > this > > the coordinate system that lib2geom uses, or does the library employ a > > more typical coordinate system in which the "X" or "northing" coordinate > value > > decreases as you move "down" the screen or page. > > > > If lib2geom does not use the SVG coordinate system, does it provide code > > to do the translation? > > The short answer is that (ideally) nothing in lib2geom really cares. The > ultimate interpretation of the coordinate system is up to the client. > Yeah, I've gotten in trouble for making methods like cw (clockwise) and ccw (counter-clockwise) before, as these would imply a particular coordinate system (or at least, the desired behavior varies depending on your view of the coord sys). |