Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 drawBitmap(Bitmap image, Rect src, Rect dst, Paint paint); 绘制图像的一部分。有没有办法做到这一点并翻转图像?
是的,图像是一个矩阵,所以假设它的 4x4 像素图像。所以提取块状像素。一旦你得到图像的一部分,我认为你可以在图像上应用任何矩阵变换,比如 rotateX()。