Extending a line to the border of view
I need help. I am rubberbanding a line (this means that if I left click and hold the button down, a line will be drawn from the point where the button was pressed down to the position of the mouse pointer, until the button is released.)
My problem is that I want to extend the line so that it is auto matically extended to the edge of the client border.
Any ideas would be great. I tried some slope stuff, but I doesn't seem to be able to draw fast enough, I am not sure.
Thanks

