[cairo] Pasting a png image on another
alex.shulgin at gmail.com
Fri Mar 5 22:56:13 PST 2010
On Sat, Mar 6, 2010 at 07:11, Anisha Kaul
<anisha.kaul at hitechroboticsystemz.com> wrote:
> Hello all,
> I have seen how an image can be drawn and then pasted on another drawn image by using "cairo_t" and "cairo_set_operator".
> Now my problem is that I want a png image to be pasted on another png image and I am unable to achieve that
> through "cairo_set_operator"
Take a look at cairo_pattern_create_for_surface,
cairo_rectangle/cairo_fill (or cairo_clip/cairo_paint). This should
be enough for you to get started.
More information about the cairo