[pygtk] PyGTK + Cairo + PNG file in the background
Fabrice DELENTE
delentef at gmail.com
Sat Sep 12 00:10:02 WST 2009
Hello.
I'm trying to develop a small app to do the following:
I'd like to have a PNG file loaded in the background, rescaled to the width
of my window, with a vertical scroller; I want to be able to click on the
PNG and type text at the point where I clicked.
I intend to use pangocairo to type the text, and cairo to render the PNG
file; however I have trouble to find any leads on how to display a PNG file
in with cairo (I'm getting mixed up between contexts and surfaces: what is
the difference?)
Thanks for any help!
--
Fabrice DELENTE
More information about the pygtk
mailing list