michael wrote: > Hi, > > I would like to have transparent object like a drawarea using > gtk-directfb and I think that I need this > function gdk_window_shape_combine_mask. It is possible to implement > using directfb? I look at the code > and I see that is not implemented. Any suggest to implement it?
You could use a window with alpha if you have acceleration or fast CPU :) Otherwise, I'd suggest to implement it using DWOP_COLORKEYING. http://www.directfb.org/docs/DirectFB_Reference/types.html#DFBWindowOptions http://www.directfb.org/docs/DirectFB_Reference/IDirectFBWindow_SetColorKey.html But it might be difficult to avoid using the color key as a normal drawing color in all cases, e.g. using gradients or (scaled) images. Now that DirectFB supports source masks during blitting, we could add support for window masks using A1 in a separate surface attached to the window... -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev