Beispiel #1
0
cairo_text_extents_t *IoCairoTextExtents_rawTextExtents(IoCairoTextExtents *self)
{
	return EXTENTS(self);
}
Beispiel #2
0
void IoCairoTextExtents_free(IoCairoTextExtents *self)
{
	free(EXTENTS(self));
}
Beispiel #3
0
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;
}
Beispiel #4
0
IoCairoTextExtents *IoCairoTextExtents_rawClone(IoCairoTextExtents *proto)
{
	IoObject *self = IoObject_rawClonePrimitive(proto);
	IoObject_setDataPointer_(self, cpalloc(EXTENTS(proto), sizeof(cairo_text_extents_t)));
	return self;
}
Beispiel #5
0
cairo_font_extents_t *IoCairoFontExtents_rawFontExtents(IoCairoFontExtents *self)
{
	return EXTENTS(self);
}
Beispiel #6
0
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;
}