gradient bug

Hi,

does anyone have a solution for the annoying gradient bug

eg , if you fill a rectangle with a linear gradient brush , _sometimes_ the first pixel row in the gradient is the same as the last gradient color.

if i make the gradient go from white to blue , it sometimes draw the first row with blue , and start with white on the next row.

(occurs when using fillrectangle and lineargradientbrush)

//Roger




Answer this question

gradient bug