VgaGames 3 - Video man-pages

[.. upper level ..]

VG3_draw_point()

Draw a pixel onto an image or the window.
SYNTAX
void VG3_draw_point(struct vg3_window *wstruct, struct vg3_image *imgdst, int xp, int yp, int color)

FUNCTION PARAMETERS
wstruct Window-struct
imgdst Image, or NULL = window
xp x-position of the pixel
yp y-position of the pixel
color Pixel color (from VGAG3_COLORS or VGAG3_COLOR_CUSTOM)

DESCRIPTION
Draw a pixel onto an image or the window with the given color.

SEE ALSO
VG3_draw_clear() VG3_draw_line() VG3_draw_rect() VG3_draw_text() VG3_draw_colorchange() VG3_draw_colorize()