Re: GdkPixmap
- From: "Vladimir V. Tsichevski" <wowa wwz slip jetinf ru>
- To: gtk-list gnome org
- Subject: Re: GdkPixmap
- Date: Sun, 1 Oct 2000 20:56:58 +0300
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]