How to pull missile images on top of the lines?
问题 As you can see below, the images of the little missiles are not over the lines. How can I create an offset that respects the angle and rotation. I am using linear interpolation to extract x y coordinates between the ends of each straight line. float xDiff = end_xpos[i] - start_xpos[i]; float yDiff = end_ypos[i] - start_ypos[i]; double degrees = Math.Atan2(yDiff, xDiff) * 180.0 / Math.PI; double radians = (Math.PI / 180) * degrees; args.DrawingSession.DrawLine(start_xpos[i], start_ypos[i], end