void bx_draw_circle ( bx_window  win,
int  x,
int  y,
unsigned  w,
unsigned  h,
int  filled 
)

Draws an ellipse on the canvas of a window, whose interior may be filled or left empty.

Parameters:
win the window owning the targeted canvas.
x,y the coordinates of the top left corner of the bounding box of the ellipse.
w,h the width and height of the bounding box of the ellipse.
filled whether theellipse is filled (non zero) or empty (zero)
Returns:
nothing
Remarks:
  • the coordinates are relative to the top-left corner of the canvas.
  • the y-axis is oriented downward.
  • the updated canvas will be shown after the next call to bx_show_canvas().
  • the color is set with bx_set_color() or bx_set_rgb().
  • the line width is set with bx_set_line_width().


Generated on Fri Oct 10 00:01:00 2008 for bx-lib : the Basic X11 Library tuned for C beginners by  doxygen 1.5.6