[cairo] [cairomm] inline Images

Alexander Larsson alexl at redhat.com
Wed Mar 28 07:34:05 PDT 2007


On Wed, 2007-03-28 at 05:30 -0700, The-Kenny wrote:
> Hello,
> Is there a way to store images (Png) in the sourcecode?
>  
> A (small) example:
>  
> test.cpp loads blubb.png
>  
> But I want blubb.png in test.cpp
>  
> So that my program does not have to load blubb.png

You could use gdk-pixbuf-csource (from gtk+).

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a Nobel prize-winning sweet-toothed boxer looking for a cure to the 
poison coursing through his veins. She's a cynical out-of-work bodyguard with 
a birthmark shaped like Liberty's torch. They fight crime! 



More information about the cairo mailing list