[cairo] Drawing Shape on Image with Transparency: HOW?

darethehair darethehair at gmail.com
Fri Mar 20 06:23:05 PDT 2009


Neil Mayhew wrote:
> I think your problem is the use of OPERATOR_SOURCE. You need 
> OPERATOR_OVER, which is the default if you don't set anything explicitly.
>
> See 
> http://www.cairographics.org/manual/cairo-context.html#cairo-operator-t
>
> --Neil

Ah!  Thanks so much Neil!  You made my day!  My code now works, and
scaling works 100% as well!

The page you mentioned leads to an even *better* page describing those
options:

http://cairographics.org/operators/

Dare


More information about the cairo mailing list