DECLARE SUB DQBbgtri (BYVAL Layer, BYVAL x1, BYVAL y1, BYVAL c1, BYVAL x2,
BYVAL y2, BYVAL c2, BYVAL x3, BYVAL y3, BYVAL c3)
Layer - Layer where to draw the triangle
x1 - x coordinate of the first vertex
y1 - y coordinate of the first vertex
c1 - color of the first vertex
x2 - x coordinate of the second vertex
y2 - y coordinate of the second vertex
c2 - color of the second vertex
x3 - x coordinate of the third vertex
y3 - y coordinate of the third vertex
c3 - color of the third vertex
none
Draws a gouraud-shaded triangle with (x1,y1), (x2,y2) and (x3,y3) as vertex, interpolating specified colors, using the current palette. Resulting colors are finally blended with the background, using the current blender map. DQBbgtri does not support transparency, but it's affected by the clipping box.