Re: y-axis reversal (was: Re: Agenda for Sept 25th call)

Greetings everyone! :-)



(Bruce Rindahl)
> I am constantly fighting with the SVG default of the Y-direction is 
> positive downward on the screen. It is opposite of all GIS application 
> as well as graphs and PostScript/PDF.

As a coincidence, I've also recently bumped into this while trying to track down specific coordinates using Inkscape to aid hand editing for experiments. Inkscape (also) uses the bottom-left corner of the document as (0, 0) for the UI coordinates, which made a simple task a bit more complicated... You may take a look at Inkscape code to understand how it performs the SVG coordinates<->UI coordinates translation in order to achieve your objective. ;-)



(Robin Berjon)
> Once options for all those issues are outlined, it boils down to 
> looking at the implementation cost, and whether the use case justifies 
> it. One big question there will be whether doing this in the UAs is 
> justified, or whether creating a tool to handle coordinates inversion 
> automatically (for instance in XSLT) would be simpler.

Due to the possible implementation requirements and (possibly) breaking compatibility with previous versions of the specification (I'd have to investigate further to support this), I'd say that this should be done at the UA level. I'd like to call for more feedback before trying (it may already be there or the might be a configuration setting I'm not aware of) to post a feature request in Inkscape and/or other potential editors.



Regards,

  Helder Magalhães

Received on Tuesday, 30 September 2008 03:00:05 UTC