← Back to team overview

elementary-dev-community team mailing list archive

Re: Cairo Load an image?

 

Have a look here
http://bazaar.launchpad.net/~gala-dev/gala/trunk/view/head:/src/Widgets/WorkspaceView.vala
On Apr 16, 2013 4:52 AM, "Craig" <weberc2@xxxxxxxxx> wrote:

> 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?
>
> Thanks,
> Craig
>
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp
>
>

References