QADrawLine
You can use theQADrawLinefunction to draw a line between two points.
#define QADrawLine(drawContext,v0,v1) \ (drawContext)->drawLine (drawContext,v0,v1)
drawContext- A draw context.
v0- A Gouraud vertex.
v1- A Gouraud vertex.
DESCRIPTION
TheQADrawLinefunction draws the line specified by thev0andv1parameters to the draw context specified by thedrawContextparameter. The size of the line is determined by thekQATag_Widthstate variable of the draw context. If the specified vertices have different colors, the line color is interpolated smoothly between the two vertex colors.