CropCircleTransformation creates an extra Bitmap
pushbit opened this issue · comments
I believe it's not necessary to create squaredBitmap
. Instead, the BitmapShader
can be given a Matrix
that has setTranslate(-width, -height)
. This should accomplish the same thing that creating squaredBitmap
does, shifting the viewport on source
so that its centre is drawn into bitmap
.
Hi.
Let's follow up on that issue.