On Wed, May 18, 2011 at 9:22 PM, Tobias Hoffmann <span dir="ltr">&lt;<a href="mailto:lcairo-list@thax.hardliners.org">lcairo-list@thax.hardliners.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 05/17/2011 01:35 PM, Tobias Hoffmann wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 Hint: Don&#39;t use the default visual for the widget:<br>
<br>
 GdkColormap *rgba = gdk_screen_get_rgba_colormap (screen);  // GTK3:<br>
 gdk_screen_get_rgba_visual(screen), etc...<br>
 if (rgba&amp;&amp;  gdk_screen_is_composited (screen)) {<br>
  gtk_widget_set_colormap(GTK_WIDGET(drawing_area), rgba);<br>
 }<br>
</blockquote>
<br>
Sorry, sill one issue: gdk_screen_get_rgba_colormap() is not implemented<br>
in the win32 backend. The gdk visual depth is always reported as 24.<br>
</blockquote></div>
AFAIU this has to do with limitations on GDI surfaces on windows, so there&#39;s no easy workaround.<br>
Maybe someone with better win32 knowledge can tell you (and me) more.<br></blockquote><br></div>It is possible to draw RGBA windows with cairo-win32 on Windows Vista and Windows 7. Firefox 4 does it. We don&#39;t use GTK on Windows, though.<br clear="all">
<br>Rob<br>-- <br>&quot;Now the Bereans were of more noble character than the 
Thessalonians, for they received the message with great eagerness and 
examined the Scriptures every day to see if what Paul said was true.&quot; [Acts 17:11]<br>