Comments on gradients proposal

>
> The end point is the point on the gradient-line where a line drawn
> perpendicular from that point would cross the furthest corner of the box.
>

What if the starting point is equidistant from two "furthest corners" of the
box?

(If there is no such ending point, for example if the starting-point is
> "-10px -10px" and the angle is "180deg", then the ending-point is identical
> to the starting-point.)
>

If you think of the gradient-line as extending on both sides of the starting
point, then the ending point always exists, the line just automatically
reverses direction as necessary. This is simpler to implement.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Tuesday, 20 October 2009 04:16:57 UTC