| Top |
ChamplainExportable is implemented by ChamplainMarkerLayer, ChamplainPathLayer, ChamplainPoint and ChamplainTile.
By implementing ChamplainExportable the object declares that it has a cairo surface (cairo_surface_t) representation of it self.
void champlain_exportable_set_surface (ChamplainExportable *exportable,cairo_surface_t *surface);
Set a cairo_surface_t to be associated with this tile.
Since: 0.12.12
cairo_surface_t *
champlain_exportable_get_surface (ChamplainExportable *exportable);
Gets the surface
Since: 0.12.12
struct ChamplainExportableIface {
cairo_surface_t *(*get_surface)(ChamplainExportable *exportable);
void (*set_surface)(ChamplainExportable *exportable,
cairo_surface_t *surface);
};
An interface common to objects having a cairo_surface_t representation.
typedef struct _ChamplainExportable ChamplainExportable;
An interface common to objects having a cairo_surface_t representation.
“surface” property “surface” CairoSurface *
A cairo_surface_t representation
Owner: ChamplainExportable
Flags: Read / Write
Since: 0.12.12