|
||
void draw_point ( int x1, int y1, int color )
int x1; // x value of point int y1; // y value of point int color; // color to use
|
|
||||||||||
Synopsis |
#include "silver.h"
The draw_point function draws a point on the graphics screen in the specified color, at the pixel coordinates (x1 , y1).
|
|
|||||||||
Parameters |
x1, y1 are integers, such that 0 <= x1 < spixel_width and 0 <= y1 < spixel_height. color is a color number in the range of 0 to 255, which may have the following flags or'ed in (as defined in silver.h):
|
|
|||||||||
Return Value |
none
|
|
|||||||||
See Also |
draw_rgb_line , draw_world_line , draw_world_point , refresh_lines , clear_away_lines |
|