[cairo] Problem with alpha-channel (Visual Studio)

razvan gradinaru razvan842002 at yahoo.com
Fri Jan 6 13:01:32 UTC 2017


Hello,

I have resolved the problem, instead of "BitBlt" I should have used "TransparentBlt". I made a stupid mistake...

Thank you anyway,

Best regards!
RG.

--------------------------------------------
On Fri, 1/6/17, Andreas Lobinger <lobingera at gmail.com> wrote:

 Subject: Re: [cairo] Problem with alpha-channel (Visual Studio)
 To: cairo at cairographics.org
 Date: Friday, January 6, 2017, 9:32 AM
 
 Hello colleague,
 
 your code looks OK at the first glance. Painting with alpha
 always
 takes the background i.e. the content of the surface that
 already has
 color into context. So it might be that the black you're
 seeing is the
 background shining through. Can you explain your
 expectations (i.e.
 content of the svg) or attach the actual svg?
 -- 
 cairo mailing list
 cairo at cairographics.org
 https://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list