VgaGames4

VgaGames4 - window man-pages

[.. upper level ..]

# vg4->window->draw_point()

Draw a pixel onto window.

SYNTAX
void vg4->window->draw_point(int xp, int yp, int color)
FUNCTION PARAMETERS

xp | x-coordinate of the pixel
yp | y-coordinate of the pixel
color | Pixel color: one of VG_COLORS or from VG_COLOR_RGB()

DESCRIPTION
Draw a pixel onto window. The modified window contents will not be seen unless calling vg4->window->flush().
SEE ALSO
vg4->window->draw_points() vg4->window->draw_line() vg4->window->draw_rect() vg4->window->draw_circle() vg4->window->flush()