[cairo] Updating cairo-demo/qcairo to current API

Mauricio Piacentini mauricio at tabuleiro.com
Sun Aug 21 13:27:29 PDT 2005


>> +    m_surf = cairo_xlib_surface_create (dpy, drw,
>>+                DefaultVisual (dpy, DefaultScreen (dpy)), width(), height() );

> Why not pass (Visual*)x11Visual() as the visual?

Yes, good suggestion, since we are already using the Qt 
platform-specific wrappers.
Patch attached.

Regards,
Mauricio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 803 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050821/343ae95f/patch.bin


More information about the cairo mailing list