> > I had expected that, like Fl_Gl_Window, my Cairo widget would appear > > empty... So I'm not at all sure why that actually worked at all. > > Probably I did not test it correctly... > > Just a guess: I don't know how your Cairo hooks work, but if Cairo > uses the current display context set up by the Fl_Printer, then why > should it not work? The same would apply to Windows, because the GDI > context will be set up by start_job(), but there might be the > coordinate system differences. Maybe.
I'll have to go and stare at my Cairo code for a bit, but you are right, it probably does pick up the current display context, so I guess that Cairo maybe "realises" it is the printer context... I'll try and test under win32 later, time permitting, to see of the GDI context also works. Cheers, -- Ian SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
