← Back to team overview

elementary-dev-community team mailing list archive

Cairo Load an image?


Hello everyone,

I'm trying to figure out how to load an image onto a surface, but all I can
find are tutorials about how to save an image. I'm trying to do this in a
"draw" callback function that I'm writing that receives a Cairo context as
a parameter. Can someone please help point me to some relevant materials?


Follow ups