Updating built in Io code to use += instead of x = x + y
[io/quag.git] / addons / Cairo / source / IoCairoSurface.h
blob879d15a35af3ab86ba82372e0241b35b6ca1ef67
1 /*
2 docCopyright("Trevor Fancher", 2007)
3 docCopyright("Daniel Rosengren", 2007)
4 */
6 #ifndef IOCAIROSURFACE_DEFINED
7 #define IOCAIROSURFACE_DEFINED 1
9 #include "IoObject.h"
10 #include <cairo.h>
12 #define ISCAIROSURFACE(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoCairoSurface_rawClone)
14 typedef IoObject IoCairoSurface;
16 IoCairoSurface *IoCairoSurface_proto(void *state);
17 void IoCairoSurface_addMethods(IoCairoSurface *self);
18 IoCairoSurface *IoCairoSurface_rawClone(IoCairoSurface *self);
19 IoCairoSurface *IoCairoSurface_newWithRawSurface_(void *state, IoMessage *m, cairo_surface_t *surface);
20 void IoCairoSurface_free(IoCairoSurface *self);
22 cairo_surface_t *IoCairoSurface_rawSurface(IoCairoSurface *self);
24 /* ------------------------------------------------------------------------------------------------*/
26 IoObject *IoCairoSurface_createSimilar(IoCairoSurface *self, IoObject *locals, IoMessage *m);
28 IoObject *IoCairoSurface_finish(IoCairoSurface *self, IoObject *locals, IoMessage *m);
29 IoObject *IoCairoSurface_flush(IoCairoSurface *self, IoObject *locals, IoMessage *m);
31 IoObject *IoCairoSurface_getFontOptions(IoCairoSurface *self, IoObject *locals, IoMessage *m);
32 IoObject *IoCairoSurface_getContent(IoCairoSurface *self, IoObject *locals, IoMessage *m);
34 IoObject *IoCairoSurface_markDirty(IoCairoSurface *self, IoObject *locals, IoMessage *m);
35 IoObject *IoCairoSurface_markDirtyRectangle(IoCairoSurface *self, IoObject *locals, IoMessage *m);
37 IoObject *IoCairoSurface_setDeviceOffset(IoCairoSurface *self, IoObject *locals, IoMessage *m);
38 IoObject *IoCairoSurface_getDeviceOffset(IoCairoSurface *self, IoObject *locals, IoMessage *m);
40 IoObject *IoCairoSurface_setFallbackResolution(IoCairoSurface *self, IoObject *locals, IoMessage *m);
42 #endif