GwyPixmapLayer

GwyPixmapLayer — Base class for GwyDataView pixmap layers

Synopsis




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

Object Hierarchy


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

Description

Details

struct GwyPixmapLayer

struct GwyPixmapLayer;


struct GwyPixmapLayerClass

struct GwyPixmapLayerClass {

    GwyDataViewLayerClass parent_class;

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

    gpointer reserved1;
    gpointer reserved2;
};


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.