[ANN] CairoPad (wxCairoContext?)

Hakki Dogusan dogusanh at dynaset.org
Sat Dec 15 06:22:18 PST 2007


Hi,

Robert Roebling yazmış:
>> [snip]
>> wxLua. I modified a local copy of src/generic/graphicc.cpp to use Cairo 
>> in win32. Drawing sample's alpha test worked. But, I think, to use Cairo 
>> API directly, a wxCairoContext and wxCairoCanvas (similar to 
>> wxGLContext,wxGLCanvas) would be a good addition.
> 
> I wonder what this would do. Wouldn't it be enough to to add a
> function like 
> 
> cairo_t* GetCairoFromWindow( wxWindow *);
> 
> [snip]

To complement that, a similar function like

cairo_t* GetCairoFromDC( wxDC &dc );

would help mixed (wxDC & Cairo) drawing, printing..


> 
> Any other ideas or suggestions welcome.
> 
>   Robert


--
Regards,
Hakki Dogusan




More information about the wx-users mailing list