title: Drawing two shadows on text (Core Graphics)
body: <p>I'm tying to draw two different shadows on some text to create an embossed effect. Here's the portion of my <code>drawInRect</code> where I draw the text with the first shadow (all the variables used are already defined):</p>
  
  <pre><code>CGContextSetShadowWithColor(context, textInnerShadowOffset, textInnerShadowBlurRadius, textInnerShadowColor.CGColor);
  [textColor setFill];
  [self.text drawInRect:rect withFont:self.font lineBreakMode:self.lineBreakMode alignment:self.textAlignment];
  </code></pre>
  
  <p>But now I'm faced with the problem of drawing the second shadow. I assume I'll need to change the shadow and draw the text again, but I need to do so without adding another copy of the text.</p>
  
  <p><strong>How can I draw text without really drawing the text itself?</strong> Changing the fill color to <code>clearColor</code> doesn't work. I've seen people use clipping masks for this, but AFAICT that will only work for simple shapes, not text.</p>
  
  <p>Alternatively, is there an easier way to draw two shadows on the same text?</p>