On 21 Sep 2008, at 19:13, matthiasm wrote:
> On 21.09.2008, at 15:28, imacarthur wrote:
>> ... but if I "adjust" the fltk context at all, after obtaining the
>> Cairo
>> context, then the Cairo context will be messed up...
>> That effect seemed odd to me, and therefore worthy of comment.
>
> Well, "adjusting" the contet in this case flips from Quartz to FLTK
> coordinate system. Now I assume that Cairo expects the Quartz context
> and flips it. Flipping it twice of course gets the original context
> back, and all drawing is upsidedown... . Cairo probably shoudl *set*
> the matrix to whatever is need, but instead seems to multiply the
> flipped matrix.

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.

-- 
Ian


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

Reply via email to