ChillingVan / android-openGL-canvas

An Android library that provides views using openGL canvas to draw things on SurfaceView or TextureView.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OrthoBitmapMatrix rotateZ 如何控制旋转中心,目前想让其在图片中心旋转

ithour opened this issue · comments

OrthoBitmapMatrix rotateZ 如何控制旋转中心,目前想让其在图片中心旋转

BitmapMatrix translate 图片会有变形现象,代码示例:

CanvasGL.BitmapMatrix matrix = new CanvasGL.BitmapMatrix();

    matrix.translate(300,0);
    canvas.drawBitmap(baboon, matrix);

rotateZ的话要Perspect,不能用Ortho

另外一个问题在看

已于1.4.2.1修复