Ejemplo n.º 1
0
 private static MySprite CreateFontSprite(byte[] bytes) {
  // Cut a couple of pixels off the right edge
     MyCanvas Cvs = new MyCanvas(6, 7);
     Cvs.BitBlt(new MySprite(8, 7, DrawingFrameworkUtils.ByteArrayToBoolArray(bytes)), 0, 0);
     return new MySprite(6, 7, Cvs.GetBuffer());
 }