关于 canvas.drawBitmap这段代码
canvas.drawBitmap(whitePiece, (whitePoint.x + (1 - ratioPieceOfLineHeight) / 2) * mLineHeight, (whitePoint.y + (1 - ratioPieceOfLineHeight) / 2) * mLineHeight, null);
为什么必须要加上(1 -
ratioPieceOfLineHeight) / 2) * mLineHeight 这些距离设置,感觉只用whitePoint.x不就可以知道图片的坐标直接放了,但是不加上的话就白子会一直在左上角重复出现