TOC PREV NEXT INDEX

GD2d_draw_fillrects

Synopsis

draw points


void GD2d_draw_points
(state, vcount, vert, fcolor, vcolor)
GDstate *state;
int vcount;
SHORT2 vert[];
FLOAT3 fcolor[];
FLOAT3 vcolor[];

Description

GD2d_draw_points draws one or more points.

You set vcount to the number of points.

vert should specify vcount pairs of x and y values.

fcolor should be NULL. Or it should specify a color for each point; that is, vcount sets of red, green, and blue values.

vcolor , which in this case is just like fcolor , should be NULL, or specify vcount sets of red, green, and blue values.

For details on the parameters, see Common parameters to the GD2d_draw routines.


TOC PREV NEXT INDEX