[cairo] Fwd: Re: Enabling GTK drawing area alpha channel
Manu
manutm007 at gmail.com
Tue May 17 12:29:11 PDT 2011
On 05/17/2011 01:35 PM, Tobias Hoffmann wrote:
> Hint: Don't use the default visual for the widget:
>
> GdkColormap *rgba = gdk_screen_get_rgba_colormap (screen); // GTK3:
> gdk_screen_get_rgba_visual(screen), etc...
> if (rgba&& gdk_screen_is_composited (screen)) {
> gtk_widget_set_colormap(GTK_WIDGET(drawing_area), rgba);
> }
Sorry, sill one issue: gdk_screen_get_rgba_colormap() is not implemented
in the win32 backend. The gdk visual depth is always reported as 24.
Is there an alternative?
--
Emmanuel Thomas-Maurin<manutm007 at gmail.com>
More information about the cairo
mailing list