+static VALUE c_get_border (VALUE self)
+{
+ int x = 0, y = 0, w = 0, h = 0;
+
+ GET_OBJ (self, RbEvasObject, e);
+
+ evas_object_image_border_get (e->real, &x, &y, &w, &h);
+
+ return rb_ary_new3 (4, INT2FIX (x), INT2FIX (y),
+ INT2FIX (w), INT2FIX (h));
+}
+
+static VALUE c_set_border (VALUE self, VALUE x, VALUE y, VALUE w, VALUE h)
+{
+ GET_OBJ (self, RbEvasObject, e);
+
+ Check_Type (x, T_FIXNUM);
+ Check_Type (y, T_FIXNUM);
+ Check_Type (w, T_FIXNUM);
+ Check_Type (h, T_FIXNUM);
+
+ evas_object_image_border_set (e->real, FIX2INT (x), FIX2INT (y),
+ FIX2INT (w), FIX2INT (h));
+
+ return Qnil;
+}
+