[cairo] bounded operators

Andrea Canciani ranma42 at gmail.com
Sat Nov 6 03:11:01 PDT 2010


On Sat, Nov 6, 2010 at 11:03 AM, L A <l.thee.a at gmail.com> wrote:
> Probably a stupid question: why are CAIRO_OPERATOR_SOURCE and
> CAIRO_OPERATOR_CLEAR not bounded? _cairo_operator_bounded_by_source
> call seems to be returning false for these two.

They are bounded by the mask, not by the souce (see
_cairo_operator_bounded_by_mask).
You might also want a high level overview of the operators:
http://cairographics.org/operators/
Notice that throughout the whole document "bounded" means "bounded by mask" (as
explained in the section "The Source").

Andrea


More information about the cairo mailing list