The gradient drawing methods that go from foreground to background seem
to stop just short of drawing the exact background color. In other
words, if you are going from red to blue, the last color of the gradient
is rgb 5,0,250 instead of 0,0,255. Is this a bug or expected behavior?