Updating built in Io code to use += instead of x = x + y
[io/quag.git] / addons / Cairo / source / IoCairoFontExtents.h
blob131b865d5b85d4858fe76d26687e8cd3ad5a8db5
1 /*
2 docCopyright("Trevor Fancher", 2007)
3 */
5 #ifndef IOCAIROFONTEXTENTS_DEFINED
6 #define IOCAIROFONTEXTENTS_DEFINED 1
8 #include "IoObject.h"
9 #include <cairo.h>
11 #define ISCAIROFONTEXTENTS(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoCairoFontExtents_rawClone)
13 typedef IoObject IoCairoFontExtents;
15 IoCairoFontExtents *IoCairoFontExtents_proto(void *state);
16 IoCairoFontExtents *IoCairoFontExtents_rawClone(IoCairoFontExtents *self);
17 IoCairoFontExtents *IoCairoFontExtents_newWithRawFontExtents(void *state, cairo_font_extents_t *extents);
18 void IoCairoFontExtents_free(IoCairoFontExtents *self);
20 cairo_font_extents_t *IoCairoFontExtents_rawFontExtents(IoCairoFontExtents *self);
22 /* ------------------------------------------------------------------------------------------------*/
24 IoObject *IoCairoFontExtents_ascent(IoCairoFontExtents *self, IoObject *locals, IoMessage *m);
25 IoObject *IoCairoFontExtents_descent(IoCairoFontExtents *self, IoObject *locals, IoMessage *m);
26 IoObject *IoCairoFontExtents_height(IoCairoFontExtents *self, IoObject *locals, IoMessage *m);
27 IoObject *IoCairoFontExtents_maxXAdvance(IoCairoFontExtents *self, IoObject *locals, IoMessage *m);
28 IoObject *IoCairoFontExtents_maxYAdvance(IoCairoFontExtents *self, IoObject *locals, IoMessage *m);
30 #endif