摘要: 1. 显示一张图片 要求:显示不修改的尺寸和原尺寸(110,110) 2. 自定义画板 // 用Canvas ,Paint,Path:制作个人绘画板 public class MyPaint07 extends View { private Paint paint; private Path pat 阅读全文
posted @ 2022-02-21 00:10 remix_alone 阅读(54) 评论(0) 推荐(0)
摘要: 问题描述 Canvas.drawBitmap(Bitmap bitmap,Rect srcRect ,Rect dstRect , paint) 绘制图片比原图片尺寸大 因此需要 1. 对Bitmap缩放或扩大 2. 根据系统尺寸对Bitmap缩放扩大 1. private Bitmap chang 阅读全文
posted @ 2022-02-21 00:02 remix_alone 阅读(76) 评论(0) 推荐(0)