This class defines a rectangle used for gradient filling operations.
struct gradient_rectangle { unsigned upper_left; unsigned lower_right; };
upper_left | The index of the upper left corner of the rectangle. |
lower_right | The index of the lower right corner of the rectangle. |
The indices are stored into the array of vertices supplied to the function gradient_fill.