Origin is 0 rotation = 45 X1 = -8 Y1 = -16 X2 = 16 Y2 = 8 drawline(x1,y1,x2,y2)