title: CGContextSetShadowWithColor: shadow is flipped in UIView
body: <p>I am developing an iPhone application in which I want set the shadow for the path that I am drawing on UIView's context.</p>
  
  <p>Following is the code snippet:</p>
  
  <pre><code>CGSize shadowSize = CGSizeMake(-4, -4);
  CGContextSetShadowWithColor(drawContext, shadowSize, blurRadius,
  shadowColor.CGColor);            
  //Stroke the bezier path
  </code></pre>
  
  <p>Since I am drawing an UIImage in the same context of UIView, I need to flip the context. All the drawing is fine except that shadow is shown in the bottom and right-side (my expectation was top and right sides).</p>
  
  <p>When I tried this drawing in a context that I created (not the UIView context and hence not flipped), the shadow is appeared properly.</p>
  
  <p>What is the problem here? How do I solve this?</p>