Converting from gdkregion to xregion on gtk2?



Hi there,

I'm just trying to get mozilla with xft compiled with the gtk2 toolkit
(so i can have galeon2 with aa fonts), but i'm having troubles setting
the Clip area for XftDraw... 

it uses a code like this for setting the clipping region

--
GdkRegionPrivate  *priv = (GdkRegionPrivate *)rgn;

XftDrawSetClip(draw, priv->xregion);
--

but in gtk/gdk 2, there is no GdkRegionPrivate, so i have tried to find
a way to get and xlib region from a gdkregion but with no success so
far...

anyone know how to do this?

thanks!

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]