/*
* call-seq:
* draw_arc(center, radius, angles, color)
*
* Draw a non-solid arc (part of a circle), given the coordinates of
* its center, radius, and starting/ending angles.
* See also #draw_arc_s
*
* *IMPORTANT:* This method will only be defined if Rubygame was compiled
* with SDL_gfx-2.0.11 or greater. (Note: #draw_arc_s does not have
* this requirement.)
*
* This method takes these arguments:
* center:: the coordinates of circle's center, [x,y].
* radius:: the radius (pixels) of the circle.
* angles:: the start and end angles (in degrees) of the arc, [start,end].
* Angles are given *CLOCKWISE* from the positive x
* (remember that the positive Y direction is down, rather than up).
* color:: the color of the shape, [r,g,b,a]. If alpha
* is omitted, it is drawn at full opacity.
*/
VALUE rbgm_draw_pie(VALUE target, VALUE center, VALUE radius, VALUE angles, VALUE rgba)
{
#ifdef HAVE_NONFILLEDPIE
draw_pie(target,center,radius,angles,rgba,0); /* no fill */
return target;
#else
return Qnil;
#endif
}