Re: copying pixmaps
- From: Havoc Pennington <hp redhat com>
- To: uckelman nomic net
- Cc: gtk-list gnome org
- Subject: Re: copying pixmaps
- Date: 25 Jun 2001 10:26:32 -0400
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]