[cairo] Multiple Images

robertk54 at aol.com robertk54 at aol.com
Thu Oct 27 08:55:55 PDT 2011

Thanks for the quick reply!  I have gone through these samples, perhaps I am missing your point.  I do not see any sample which uses more than one image (i.e. png file).  Each example seems to use a single surface.  I see how to render on top of these surfaces, I am doing this today with great success.  I do not see how to add a second surface (I assume this is what I am trying to do).  I am looking for something like picture-in-picture.  My main surface would be an image from a buffer I supply (an RGB image) and I want to add a second (or more) image(s) on top of this base surface.

> www.cairographics.org/samples/ has some useful examples.
> > On Thu, Oct 27, 2011 at 11:14 AM,  <robertk54 at aol.com> wrote:
> > Is it possible to render images from files on to images created from a
> > buffer?  I have an image buffer I am using as my main image.  I can render
> > text on top of this image.  I would like to render images from files (i.e.
> > png files) on top of the base image.
> >
> > Thanks,
> > Bob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20111027/6bdf922d/attachment.htm>

More information about the cairo mailing list