Re: GdkPixmap



Hello,
>
>Does anyone know how I can find the size of a GdkPixmap, and what the best
>way is to scale a GdkPixmap?
>
>Thanks in advance,
>Meghal
>

You may use the private structure gdk uses to manage X drawables
(windows, pixmap and bitmaps). I'am sure it is deprecated!


******************************************************************************
#include " "gdk/gdkprivate.h"

...

GdkPixmap* pixmap = ...;
int pixmap_width = ((GdkWindowPrivate*)pixmap)->width;
******************************************************************************

Regards,
Vladimir V. Tsichevski
expert

______________________________________________________
Jet Infosystems
Krasnoproletarskaya 6,		Tel. (+7 095) 972-1182
Moscow 103006, Russia		Fax  (+7 095) 972-0791
______________________________________________________
Any opinions or recommendations herein are those of the
author and not of his computer.




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