[cairo] cairo & XRender

Alexei Babich a.babich at rez.ru
Fri Mar 6 03:00:31 PST 2009


Hello, all.

Is interoperable cairo with XRender?

I run the sample applications on X11. Text attached.

X11 have two visuals (as xdpyinfo says): default, 0x21 (TrueColor, depth == 24 planes); 0x39 (TrueColor, depth == 32 planes).
I have create two windows. One of the windows have a 32-bit depth, for it creates XRender picture. Next, XRender fill transparent rectangle into the 32-bit window.
When I paint a letter by cairo, on the edges appear abnormal color: in my example, orange and green.
Someone might comment on the situation?

PS: cairo-1.8.6, linux

Thank you.

-- 
Regards,
Alexei Babich, circuit engineer, OOO NPP "Rezonans", Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: impatt at jabber.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test11_for_cairo_list.c
Type: text/x-csrc
Size: 3735 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20090306/140fa0f0/attachment-0001.c 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pict.png
Type: image/png
Size: 29535 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20090306/140fa0f0/attachment-0001.png 


More information about the cairo mailing list