public void DrawTextLine(IPixmap pixmap, string line, int x, int y)
        {
            for (int i = 0; i < line.Length; i++)
            {
                char c = line[i];
                if (c == ' ')
                {
                    x += 20;
                    continue;
                }

                int srcX     = 0;
                int srcWidth = 0;
                if (c == '.')
                {
                    srcX     = 392;
                    srcWidth = 25;
                }
                else
                {
                    srcX     = (c - '0') * 39;
                    srcWidth = 39;
                }

                DrawPixmap(pixmap, x, y, srcX, 0, srcWidth, 55);
                x += srcWidth;
                x += 0;
            }
        }
        public void DrawPixmap(IPixmap pixmap, int x, int y, int srcX, int srcY, int srcWidth, int srcHeight)
        {
            _srcRect.Left   = srcX;
            _srcRect.Top    = srcY;
            _srcRect.Right  = srcX + srcWidth - 1;
            _srcRect.Bottom = srcY + srcHeight - 1;

            _dstRect.Left   = x;
            _dstRect.Top    = y;
            _dstRect.Right  = x + srcWidth - 1;
            _dstRect.Bottom = y + srcHeight - 1;

            _canvas.DrawBitmap(((AndroidPixmap)pixmap).bitmap, _srcRect, _dstRect, null);
            //test;
            pixmap = null;
        }
 public void DrawPixmap(IPixmap pixmap, int x, int y)
 {
     _canvas.DrawBitmap(((AndroidPixmap)pixmap).bitmap, x, y, null);
     //test
     pixmap = null;
 }