title: Starting point of Android drawLine changes with angle
body: <p>I'm drawing a line from a fixed point and moving it in a circle. Depending on the angle of the line (specifically which quarter of the circle the angle is within) the starting x and y co-ordinate of the line change. See this <a href="https://vimeo.com/70694932" rel="nofollow">video</a> to see what I mean.</p>
  
  <p>I've put a white 2x2 pixel square behind the line to better show the change in the starting x and y co-ordinates. The line should be drawn from the bottom right pixel of the square.</p>
  
  <p>Here is the code which I am running in my DrawFrame method:</p>
  
  <pre><code>radians = Math.toRadians(angle);
  x2 = 15.0 * Math.cos(radians);
  y2 = 15.0 * Math.sin(radians);
  c.drawLine(80, 140, 80 + (float)x2, 140 + (float)y2, mPaint);
  angle += 1;
  </code></pre>
  
  <p>c is the Canvas and mPaint is a new Paint() object.</p>
  
  <p>I'm new to Android, so maybe I'm missing something.</p>