title: draw outside of UIView's bounds from drawRect
body: <p>My question is very similar to this one <a href="https://stackoverflow.com/questions/2823599/not-drawing-outside-bounds-when-cliptoboundsno">Not drawing outside bounds when clipToBounds=NO</a> which received no clear answer.</p>
  
  <p>Basically I have a UIView, and I want to draw a line from the center of it, to the edge of the screen. Calculating where these points are is easy, using <code>[self convertPoint:(CGPoint){0,0} fromView:[self superview]];</code> (which finds the origin with respect to my view's superview. But when I draw a line from my view's drawRect: it gets clipped at my view's bounds.</p>
  
  <p>Is there a way to draw outside of my view's bounds? I've tried changing the clipsToBounds property, but it doesn't seem to have any effect.</p>
  
  <p>I can't draw my lines from the superview because I need to do this with multiple views and some will be in front of others... figuring out the layer from the superview's drawRect seems like a bad idea.</p>
  
  <p>Similarly, I don't think I can just resize my view's bounds to include the entire screen, because my views need to be dynamically re-sizable... the bounds would have to be HUGE (>20,000 points square) for this to work.</p>