On 21 Sep 2008, at 19:40, matthiasm wrote:
> On 21.09.2008, at 20:27, imacarthur wrote:
>
>> yes - that's pretty much the way I see it, except that I worry that
>> it is fltk that is awry here, and it is our code that is multiplying
>> the existing matrix rather than doing an explicit set...
>> Only I don't know enough about this to know either way.
>
>
> Yes ;-) I am multiplying. I am not even sure if setting the matrix is
> part of the API. Quartz is quite tricky that way ;-)

Which is where fltk comes in useful...

I don't know enough Quartz to be any help here, but as you say there  
doesn't seem to be any set method for directly setting the CTM. I  
wonder if it is possible to read back the current CTM by using  
CGContextGetCTM then somehow looking at the CGAffineTransform matrix  
that is returned and figuring out from that whether the flip has  
already been applied or not, before we apply it again... or something...

-- 
Ian


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to