title: UIGraphicsGetCurrentContext value pass to CGContextRef is not working?
body: <pre><code>CGContextRef currentContext = UIGraphicsGetCurrentContext();
  UIGraphicsBeginImageContext(drawImage.frame.size);
  [drawImage.image drawInRect:CGRectMake(0,0, drawImage.frame.size.width, drawImage.frame.size.height)];
  
  CGContextSetRGBStrokeColor(currentContext, 0.0, 0.0, 0.0, 1.0);
  UIBezierPath *path=[self pathFromPoint:currentPoint 
                                 toPoint:currentPoint];
  
  CGContextBeginPath(currentContext);
  CGContextAddPath(currentContext, path.CGPath);
  CGContextDrawPath(currentContext, kCGPathFill);
  drawImage.image = UIGraphicsGetImageFromCurrentImageContext();
  </code></pre>
  
  <p>In the above code <code>CGContextRef currentContext</code>  created of <code>UIGraphicsGetCurrentContext()</code> and pass it to  <code>CGContextBeginPath CGContextAddPath CGContextDrawPath</code>  currentContext has parameter to them its not working for me!  When i am doing <code>touchMovie</code>.</p>
  
  <p>When i pass directly <code>UIGraphicsGetCurrentContext()</code> in place of <code>currentContext</code> its working for me.  I want to know why its like that?</p>
  
  <p>@All Please Advice me for this issue.</p>