void bx_draw_point ( bx_window  win,
int  x,
int  y 
)

Draws a point on the canvas of a window.

Parameters:
win the window owning the targeted canvas.
x,y the coordinates of the point to draw.
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().


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