AndroidMatrix图片矩阵例子,MyDrawextendsView{Matrixm;//图片的位相Bitmapb;//位相的宽和高intwidth;intheight;//定义歪斜和缩放true:缩放false:歪斜booleaniS/SCale;//等比例缩放floatscale=1.0f;//歪斜floatkx=0.0f;
(Android Matrix image matrix example, MyDrawextendsView {Matrix m;//Image phase Bitmapb;//Phase width and height intwidth; intheight;//Define skew and scaling true: scaling false: skew boolean S/SCale;//Equal scaling floatscale=1.0f;//Skew floatx=0.0f;)
[下载]14391093811.rar
|