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

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


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

Thank you anyway,

Best regards!

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
 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

More information about the cairo mailing list