weimingtom / loon-simple

Automatically exported from code.google.com/p/loon-simple
1 stars 0 forks source link

j2me移植到android的drawRegion的问题 #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
测试了下水平镜像的方法,g.drawRegion(img, x, y, w, h, 
Sprite.TRANS_MIRROR, x1, y1, 0);//镜像

这个方法里面随着x,y,w,h 
的变化会出现问题。截图的小图和其镜像不一致。

Original issue reported on code.google.com by hydrogen...@gmail.com on 29 Nov 2010 at 3:12

GoogleCodeExporter commented 8 years ago
补充下用的2.1的api

Original comment by hydrogen...@gmail.com on 29 Nov 2010 at 3:14

GoogleCodeExporter commented 8 years ago
您好,很抱歉小弟一直没有回复issues上的问题,旧版的drawRegi
on具体执行Canvas时参数有误,目前0.2.95版中已经修订正常。

Original comment by loontest@gmail.com on 27 Jan 2011 at 1:45