RE: [gtkmm] Creating new Pixmap?






From: "David B. Davis" <dbdavis dbd-associates com>
Reply-To: dbdavis dbd-associates com
To: gtkmm-list gnome org
Subject: [gtkmm] Creating new Pixmap?
Date: Mon, 24 May 2004 14:05:09 -0500

I've been spinning my wheels a couple days now trying to create a Gdk::Pixmap. Most of the .create* methods take a RefPtr to a Drawable, and I cannot figure out what Drawable to pass!

Perhaps I am not using the optimum tactics: I want to read an image file, add some simple line drawing (so I need a Drawable, I assume a Pixmap), then scale it up (presumably in a Pixbuf, not a Pixmap) before setting it into an Image. I've had no problem reading an image file (.pgm) into a Pixbuf, scaling it and displaying in an Image, but moving from Pixbuf to Pixmap and back just isn't working for me.

Can someone give me a hand here?

Thanks,
David
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

_________________________________________________________________
Correos más divertidos con fotos y textos increíbles en MSN Premium. Pruébalo gratis dos meses. http://join.msn.com/?pgmarket=es-es&page=features/richmail&XAPID=1684&DI=1055&HL=TAG6OPENINGTEXT_MSNPREMIUM_VIRUS




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]