vg4->image->draw_line()
Draw a line onto an image.
SYNTAX
void
vg4->image->draw_line(struct VG_Image *imgp,
int x1,
int y1,
int x2,
int y2,
int color)
FUNCTION PARAMETERS
imgp | Image |
x1 | x-coordinate of the start point |
y1 | y-coordinate of the start point |
x2 | x-coordinate of the end point |
y2 | y-coordinate of the end point |
color | Line color: one of VG_COLORS or from VG_COLOR_RGB() |
DESCRIPTION
Draw a line onto an image.
SEE ALSO