[cairo] Displaying images

Matthew Allen fret at memecode.com
Thu Mar 3 21:59:14 PST 2005


What is the equivilant of BitBlt in the cairo API?

I mean how do you paste a in memory bitmap on to the working surface...?

So far I assume that you use cairo_surface_create_for_image to create a surface around the source image. And then...?

With Gdi+ I could blat the bitmap anywhere on the document and it would be transformed using the current matrix to rotate and scale or whatever. Can cairo do that yet?

regards
--
Matthew Allen
(fret at memecode.com) (http://www.memecode.com)




More information about the cairo mailing list