static void test_paint_elp () { cogl_path_ellipse (0, 0, CLUTTER_INT_TO_FIXED (60), CLUTTER_INT_TO_FIXED (40)); }
static VALUE rb_cogl_path_ellipse (VALUE self, VALUE center_x, VALUE center_y, VALUE radius_x, VALUE radius_y) { cogl_path_ellipse (rbclt_num_to_fixed (center_x), rbclt_num_to_fixed (center_y), rbclt_num_to_fixed (radius_x), rbclt_num_to_fixed (radius_y)); return Qnil; }
static void path_shapes (gint x, gint y, gint width, gint height) { cogl_path_move_to (x, y); cogl_path_line_to (x, (y + height * 4 / 5)); cogl_path_line_to ((x + width * 4 / 15), (y + height * 4 / 5)); cogl_path_close (); cogl_path_rectangle (x + width / 3, y, x + width * 9 / 15, y + height * 4 / 5); cogl_path_ellipse ((x + width * 4 / 5), (y + height * 2 / 5), (width * 2 / 15), (height * 2 / 5)); }
static void test_paint_elp (void) { cogl_path_ellipse (0, 0, 60, 40); }