[cairo] Paint a image in Cairo surface X11

Alex Vazquez avazquez.dev at gmail.com
Fri Feb 5 06:13:02 PST 2016


I have a problem when I paint a image using Cairo and X11.
The test is simple I try paint a image in a  X11 Windows using Cairo.
If the size of surface  is less that size of image, X11 don't show the
image but If the  size of surface  is bigger that the size of image  X11
show fine the image.

Why is happen?
How can i fix this problem?
I add a test where you can test this problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20160205/558c2361/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 397 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20160205/558c2361/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo_xlib_simple.c
Type: text/x-csrc
Size: 2398 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20160205/558c2361/attachment.c>


More information about the cairo mailing list