gradient_rectangle


This class defines a rectangle used for gradient filling operations.

struct gradient_rectangle
{
  unsigned upper_left;
  unsigned lower_right;
};

Members

upper_left The index of the upper left corner of the rectangle.
lower_right The index of the lower right corner of the rectangle.

Notes

The indices are stored into the array of vertices supplied to the function gradient_fill.