TQADrawLine
A drawing engine must define a method to draw a line between two points.
typedef void (*TQADrawLine) ( const TQADrawContext *drawContext, const TQAVGouraud *v0, const TQAVGouraud *v1);
drawContext- A draw context.
v0- A Gouraud vertex.
v1- A Gouraud vertex.
DESCRIPTION
YourTQADrawLinefunction should draw 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.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help