title: SkiaSharp Mirror Bitmap
body: <p>I'm looking to mirror a bitmap such that I can have an image and its mirror next to each other. I'm using SkiaSharp and my bitmaps are SKBitmap and I'm drawing them on a canvas.</p>
  
  <pre><code>canvas.Translate( -imageWidth/ 2.0f, -imageHeight/ 2.0f );
  canvas.Scale( -1, 1,0,0 );
  canvas.DrawBitmap( bitmap, new SKPoint( 0.0f, 0.0f ) );
  canvas.Scale( -1, 1, 0, 0 );
  canvas.Translate( imageWidth/ 2.0f, imageHeight / 2.0f );
  </code></pre>
  
  <p>I'm centring the image around the origin, mirroring it about the Y axis, painting the bitmap on the canvas, then undoing the transforms to get the result.</p>
  
  <p>My problem seems to be that the bitmap just vanishes when I start playing with the scale method. This doesn't occur if I paint something like a circle.</p>