Re: Scaling pixmap data



dpoulsen@es.com writes:
> 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.

Havoc




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