Re: Displaying a scaled pixmap
- From: Ole Laursen <olau hardworking dk>
- To: gtkmm-list gnome org
- Subject: Re: Displaying a scaled pixmap
- Date: Sat, 03 Mar 2007 14:24:39 +0100
TheLonelyStar <nabble lonely-star org> writes:
> What I have not found out is how to scale the pixmap while drawing!
> Any hints?
Well, you can scale a pixbuf and convert that to a pixmap:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGdk_1_1Pixbuf.html
Or you could use a canvas library, such as goocanvas or gnomecanvas,
instead of a DrawingArea.
--
Ole Laursen
http://people.iola.dk/olau/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]