Class: Cairo::PathClosePath

Inherits:
PathData show all
Defined in:
ext/cairo/rb_cairo_path.c

Instance Method Summary collapse

Methods inherited from PathData

#close_path?, #curve_to?, #each, #line_to?, #move_to?, #to_a

Constructor Details

#initializeObject



212
213
214
215
216
217
218
219
220
# File 'ext/cairo/rb_cairo_path.c', line 212

static VALUE
cr_path_close_path_initialize (VALUE self)
{
  VALUE super_argv[2];
  super_argv[0] = INT2NUM (CAIRO_PATH_CLOSE_PATH);
  super_argv[1] = rb_ary_new ();
  rb_call_super (2, super_argv);
  return Qnil;
}