Re: copying pixmaps



Joel Uckelman <uckelman nomic net> writes: 
> Is there a way to get the dimensions of a GdkPixmap after creating it from 
> an arbitrarily-sized XPM? If I could do that my problem would be solved, 
> since I could create a blank GdkPixmap of the appropriate size and use 
> gdk_draw_pixmap to copy from one to the other.

gdk_drawable_get_size().

The way you copy a pixmap is to just draw it to another pixmap, as you
say.

Havoc




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