| Gwyddion Widgets Library Reference Manual |
|---|
GwyPixmapLayer — Base class for GwyDataView pixmap layers
struct GwyPixmapLayer; struct GwyPixmapLayerClass; GdkPixbuf* gwy_pixmap_layer_paint (GwyPixmapLayer *layer);
GObject
+----GtkObject
+----GwyDataViewLayer
+----GwyPixmapLayer
+----GwyLayerBasic
+----GwyLayerMask
struct GwyPixmapLayerClass {
GwyDataViewLayerClass parent_class;
/* renderers */
GdkPixbuf* (*paint)(GwyPixmapLayer *layer);
gpointer reserved1;
gpointer reserved2;
};
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. |
| << GwyDataViewLayer | GwyVectorLayer >> |