POV-Ray : Newsgroups : povray.off-topic : Intelligence test : Re: Intelligence test Server Time
4 Sep 2024 19:21:15 EDT (-0400)
  Re: Intelligence test  
From: Fredrik Eriksson
Date: 19 Nov 2009 07:12:09
Message: <op.u3m5ijl47bxctx@e6600>
On Thu, 19 Nov 2009 12:23:03 +0100, Invisible <voi### [at] devnull> wrote:
> I'm using the following library:
>
> http://cairographics.org/
>
> Now, can *anybody* figure out what the default coordinate space is?!
>
> Seriously, I can't find this information anywhere in the documentation.  
> Is (0,0) at the bottom-left corner? The top-left corner? Somewhere else?  
> What??
>
> It seems this is so trivial they forgot to actually write it down. >_<

The user space coordinate system depends on the device space coordinate  
system. By default, the mapping between them is an identity transformation.

I think most device spaces have (0,0) in the upper left corner, but I am  
not sure if that is a requirement or a coincidence.

No, I did not figure this out by reading the Cairo documentation, which  
seems to consist mostly of Doxygen-style pseudo-docs.



-- 
FE


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.