<div dir="ltr">My guess is that the source of the problem is explained in the following quote from the cairo-xlib-surface documentation:<br><p><span class="term"></span></p>
<div style="margin-left: 40px;">Currently, only TrueColor visuals are fully supported.
<br></div><br>which means that you don't have alpha support when drawing. One way of solving this is to create a second image surface on which you do your drawing that you then draw to the xlib-surface without any scaling. This basically means keeping an entire copy of the window as a backstore image that you then copy to the xlib-surface when needed. <br>
<br>Perhaps someone else can give a better solution.<br><br>Regards,<br>Dov<br><br><div class="gmail_quote">On Thu, Nov 25, 2010 at 16:37, fred PPP <span dir="ltr"><<a href="mailto:fredppp@hotmail.com">fredppp@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
I try to use cairo with X11 ( cairo 1.10.1) . <br>If I paint a surface with a png file and a scale ( CAIRO_SCALE ) I have problem with black lines around the rectangle surface ( verticales and horizontales lines).<br>i don't have these lines when i'm no using cairo_scale.<br>
I try also CAIRO_TRANSFORM but the problem is the same.<br>I send the rar file of the test.<br>What are the problem and how can i resolve it ?<br><a></a><br>                                            </div>
<br>--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br></div>