cairo_text_extents_t *IoCairoTextExtents_rawTextExtents(IoCairoTextExtents *self) { return EXTENTS(self); }
void IoCairoTextExtents_free(IoCairoTextExtents *self) { free(EXTENTS(self)); }
IoCairoTextExtents *IoCairoTextExtents_newWithRawTextExtents(void *state, cairo_text_extents_t *extents) { IoCairoTextExtents *self = IOCLONE(IoState_protoWithId_(state, protoId)); memcpy(EXTENTS(self), extents, sizeof(cairo_text_extents_t)); return self; }
IoCairoTextExtents *IoCairoTextExtents_rawClone(IoCairoTextExtents *proto) { IoObject *self = IoObject_rawClonePrimitive(proto); IoObject_setDataPointer_(self, cpalloc(EXTENTS(proto), sizeof(cairo_text_extents_t))); return self; }
cairo_font_extents_t *IoCairoFontExtents_rawFontExtents(IoCairoFontExtents *self) { return EXTENTS(self); }
IoCairoFontExtents *IoCairoFontExtents_newWithRawFontExtents(void *state, cairo_font_extents_t *extents) { IoCairoFontExtents *self = IOCLONE(IoState_protoWithInitFunction_(state, IoCairoFontExtents_proto)); memcpy(EXTENTS(self), extents, sizeof(cairo_font_extents_t)); return self; }