How to copy a triangular shape from one bitmap to another in Android?
<p>I can copy a rectangular section from bitmap1 to bitmap2 by doing the following:</p>

<pre><code>Rect RectSrc = new Rect(10,10,20,20);
Rect RectDest = new Rect(60,60,70,70);
Canvas CanvasDest = new Canvas(bitmap2); 
CanvasDest.drawBitmap(bitmap1, src, dest, null); 
</code></pre>

<p>Is there any way I can copy a TRIANGULAR section, rather than a rectangle?</p>

<p>Thanks,</p>

<p>Matt</p>
