How to use gdk_draw_rgb_image correctly?
- From: "Demon Zhu" <demon ovt com cn>
- To: <gtk-list gnome org>
- Subject: How to use gdk_draw_rgb_image correctly?
- Date: Fri, 8 Apr 2005 19:46:32 +0800
Hi everyone,
i use function
gdk_draw_rgb_image(widget->,widget->style->fg_gc[GTK_STATE_NORMAL],
0, 0, 100, 100,
GDK_RGB_DITHER_MAX, //GDK_RGB_DITHER_NONE,
rgb_buf,0);
to draw image, but it only display a 100*100 black image no matter
what contents the rgb_buf is.
i set the background color to (0,0,0)
Please help me
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]