draw on an image



Hello
I want to draw directly on an image. I tried something like above but I didn't succeeded. 


<---->

  image = gtk_image_new_from_file ((char *) str);


  gdk_draw_line (GTK_IMAGE (image)->data.pixmap.pixmap,
                 GDK_GC_BACKGROUND,
                 8, 1,
                 8, 3);

<---->



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