Class: Cairo::Rectangle
- Inherits:
-
Object
- Object
- Cairo::Rectangle
- Defined in:
- ext/cairo/rb_cairo_context.c
Instance Method Summary collapse
- #initialize ⇒ Object constructor
Constructor Details
#initialize ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 |
# File 'ext/cairo/rb_cairo_context.c', line 39
static VALUE
cr_rectangle_initialize (VALUE self, VALUE x, VALUE y,
VALUE width, VALUE height)
{
rb_ivar_set (self, at_x, x);
rb_ivar_set (self, at_y, y);
rb_ivar_set (self, at_width, width);
rb_ivar_set (self, at_height, height);
return Qnil;
}
|