Object Hierarchy
GObject
+----GInitiallyUnowned
+----CcBrush
+----CcBrushColor
Details
CcBrush
typedef struct _CcBrush CcBrush;
CcBrushClass
typedef struct {
GInitiallyUnownedClass base_class;
/* vtable */
void (*apply) (CcBrush* brush,
cairo_t* cr);
} CcBrushClass;
A brush class.
GInitiallyUnownedClass base_class ; |
the parent class for GType
|
apply () |
the virtual function that's called from cc_brush_apply()
|
cc_brush_apply ()
void cc_brush_apply (CcBrush *self,
cairo_t *cr);
Apply a brush to a cairo context. This is usually used from item
implementations while rendering to a context.
self : |
a CcBrush
|
cr : |
a cairo context
|