Here is my rectangle line clipper. Please use with credit. Made in an afternoon. Uses a method in which the points from a to b are plotted out. Then goes back and if the point is out of the square, delete it. Once it does this for all the points, it draws the new line with the data. @orangeawesome for the direction block