GwyPixmapLayer

GwyPixmapLayer — Base class for GwyDataView pixmap layers

Synopsis




            GwyPixmapLayer;
            GwyPixmapLayerClass;
GdkPixbuf*  gwy_pixmap_layer_paint          (GwyPixmapLayer *layer);

Object Hierarchy


  GObject
   +----GtkObject
         +----GwyDataViewLayer
               +----GwyPixmapLayer
                     +----GwyLayerBasic
                     +----GwyLayerMask

Description

Details

GwyPixmapLayer

typedef struct _GwyPixmapLayer GwyPixmapLayer;


GwyPixmapLayerClass

typedef struct {
    GwyDataViewLayerClass parent_class;

    /* renderers */
    GdkPixbuf* (*paint)(GwyPixmapLayer *layer);

    gpointer reserved1;
    gpointer reserved2;
} GwyPixmapLayerClass;


gwy_pixmap_layer_paint ()

GdkPixbuf*  gwy_pixmap_layer_paint          (GwyPixmapLayer *layer);

Returns a pixbuf with painted pixmap layer layer.

layer : A pixmap data view layer.
Returns : The pixbuf. It should not be modified or freed. The layer must be a pixmap layer. Use gwy_pixmap_layer_draw() for vector layers.