Re: Scaling pixmap data
- From: Havoc Pennington <hp redhat com>
- To: dpoulsen es com
- Cc: gtk-list gnome org
- Subject: Re: Scaling pixmap data
- Date: 03 Jun 2000 23:03:16 -0400
> I have writtin a GTK app that is used to display graphical data elements. I
> am interested in having an additional window that contains a zoomed view of
> the original data. I would like the zoomed view to be updated as I move the
> cursor through the original window.
> I have been able to get it all working except for the scaling of the
> original window data to the zoom window. Is there a GTK function that can
> be used to scale pixmap data within a window?
No, but the gdk-pixbuf library could help you. It can scale RGB data
and convert the RGB data to and from pixmaps.
] [Thread Prev