VgaGames4 - image man-pages

[.. upper level ..]

vg4->image->draw_point()

Draw a pixel onto an image.

SYNTAX
void vg4->image->draw_point(struct VG_Image *imgp, int xp, int yp, int color)

FUNCTION PARAMETERS
imgp Image
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 an image.

SEE ALSO
vg4->image->draw_points() vg4->image->draw_line() vg4->image->draw_rect() vg4->image->draw_circle()