gradient_fill_flag


This structure contains the flags used for gradient fills.

rectangle_horizontal The two endpoints describe a rectangle. The rectangle is defined to have a constant color (specified by the structure trivertex) for the left and right edges. The color from the top to the bottom edge is interpolated and the interior is filled.
rectangle_vertical The two endpoints describe a rectangle. The rectangle is defined to have a constant color (specified by the structure trivertex) for the top and bottom edges. The color from the left to the right edge is interpolated and the interior is filled.
triangle An array of trivertex objects is passed to the graphics subsystem along with a list of array indices that describe separate triangles. Linear interpolation is performed between triangle vertices and the interiors are filled. Drawing is done directly in 24 bits/pixel and 32 bits/pixel modes. Dithering is performed in 16,8,4 and 1 bit/pixel modes.