GimpBuffer

GimpBuffer

Synopsis

                    GimpBuffer;
GimpBuffer *        gimp_buffer_new                     (TileManager *tiles,
                                                         const gchar *name,
                                                         gint offset_x,
                                                         gint offset_y,
                                                         gboolean copy_pixels);
GimpBuffer *        gimp_buffer_new_from_pixbuf         (GdkPixbuf *pixbuf,
                                                         const gchar *name,
                                                         gint offset_x,
                                                         gint offset_y);
gint                gimp_buffer_get_bytes               (const GimpBuffer *buffer);
GimpImageType       gimp_buffer_get_image_type          (const GimpBuffer *buffer);
gint                gimp_buffer_get_width               (const GimpBuffer *buffer);
gint                gimp_buffer_get_height              (const GimpBuffer *buffer);
TileManager *       gimp_buffer_get_tiles               (const GimpBuffer *buffer);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpBuffer

Implemented Interfaces

GimpBuffer implements GimpConfigInterface.

Description

Details

GimpBuffer

typedef struct _GimpBuffer GimpBuffer;


gimp_buffer_new ()

GimpBuffer *        gimp_buffer_new                     (TileManager *tiles,
                                                         const gchar *name,
                                                         gint offset_x,
                                                         gint offset_y,
                                                         gboolean copy_pixels);


gimp_buffer_new_from_pixbuf ()

GimpBuffer *        gimp_buffer_new_from_pixbuf         (GdkPixbuf *pixbuf,
                                                         const gchar *name,
                                                         gint offset_x,
                                                         gint offset_y);


gimp_buffer_get_bytes ()

gint                gimp_buffer_get_bytes               (const GimpBuffer *buffer);


gimp_buffer_get_image_type ()

GimpImageType       gimp_buffer_get_image_type          (const GimpBuffer *buffer);


gimp_buffer_get_width ()

gint                gimp_buffer_get_width               (const GimpBuffer *buffer);


gimp_buffer_get_height ()

gint                gimp_buffer_get_height              (const GimpBuffer *buffer);


gimp_buffer_get_tiles ()

TileManager *       gimp_buffer_get_tiles               (const GimpBuffer *buffer);