[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: GtkDrawingArea -> bmp file
From:       Paolo Costabel <paolo () zebradevelopment ! com>
Date:       2004-12-30 2:29:21
Message-ID: 41D36801.1000603 () zebradevelopment ! com
[Download RAW message or body]

Look at gdk_pixbuf:

GdkPixbuf *gdk_pixbuf_get_from_drawable    (GdkPixbuf *dest,
                                             GdkDrawable *src,
                                             GdkColormap *cmap,
                                             int src_x,
                                             int src_y,
                                             int dest_x,
                                             int dest_y,
                                             int width,
                                             int height);



gboolean    gdk_pixbuf_save                 (GdkPixbuf *pixbuf,
                                             const char *filename,
                                             const char *type,
                                             GError **error,
                                             ...);


Gene Heskett wrote:

> Hello.
>
> For drawing I use GtkDrawingArea.
>
> And I want to know is there any way to save picture which
> I draw in GtkDrawingArea as bmp file?
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic