Gerardo,
I think the approach used in this code should do what you want. Dorry I
don't have time for more explanation...
-Chris
Gerardo Rivera wrote:
Hi,
I'm trying to draw a line given an angle, magnitude, x0 and y0
location on a 2d line plot. I use the "cosine" and "sine" to find
the
Hi,
I'm trying to draw a line given an angle, magnitude, x0 and y0
location on a 2d line plot. I use the "cosine" and "sine" to find
the x1 and y1 locations so that I can draw a line segment from x0, y0
to x1, y1. This works fine on a 200 x 200 (Width x Height) pixel
graph. However, I have