Re: Problem with alpha-channel (Visual Studio)
razvan gradinaru <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: Subject: Re: [cairo] Problem with alpha-channel (Visual Studio) To: [email protected] 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 [email protected] https://lists.cairographics.org/mailman/listinfo/cairo -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo