摘要:
一、 使用BitmapFactory解析图片 // --> 使用BitmapFactory解析图片public void myUseBitmapFactory(Canvas canvas){// 定义画笔 Paint paint = new Paint();// 获取资源流 Resources rec = getResources(); InputStream in = rec.openRawResource(R.drawable.haha);// 设置图片 Bitmap bitmap =BitmapFactory.decodeStream(in);// 绘制图片 canv... 阅读全文
posted @ 2012-02-08 20:52
luozhifu
阅读(439)
评论(0)
推荐(0)

浙公网安备 33010602011771号