
android_Graphics
redemption1984
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
matrix使用:平移
[size=medium]android绘图中使用的矩阵是3x3的结构。[/size][img]http://www.moandroid.com/wp-content/uploads/2010/04/3-x-3.JPG[/img][size=medium]矩阵元素的功能:[/size][img]http://www.moandroid.com/wp-content/uplo...原创 2012-06-21 13:19:44 · 236 阅读 · 0 评论 -
android:计算画布中两点的距离
[size=medium]计算画布中两点的距离[/size][code="java"]float fLen = (float)Math.sqrt(Math.pow(points.get(0).x - points.get(1).x, 2) +Math.pow(points.get(0).y - points.get(1).y, 2));[/code]...原创 2012-10-30 23:29:20 · 723 阅读 · 0 评论