theapache64
04/10/2021, 7:44 AMdrawImage
(Canvas
) with "pixelated" output?romainguy
04/10/2021, 7:44 AMtheapache64
04/10/2021, 7:44 AMtheapache64
04/10/2021, 7:46 AMromainguy
04/10/2021, 7:46 AMPaint
you pass to drawImage
set the filterQuality
to None
I believetheapache64
04/10/2021, 7:47 AMdrawImage
, it looks like this.theapache64
04/10/2021, 7:47 AMtheapache64
04/10/2021, 7:52 AMPaint
param ๐คromainguy
04/10/2021, 7:54 AMtheapache64
04/10/2021, 7:56 AMdrawIntoCanvas
thentheapache64
04/10/2021, 7:57 AMCanvas#drawImage
doesn't accept srcOffset
๐ฌ. It got only destination offset(topLeftOffset
)theapache64
04/10/2021, 8:01 AMdstSize
๐ I think i have to do all thse manually now. androidx.compose.ui.graphics.drawscope.DrawScope#drawImage
was easiertheapache64
04/10/2021, 8:03 AMDrawScope#drawImage
can accept Paint
object ๐ฌtheapache64
04/10/2021, 10:14 AMtheapache64
04/10/2021, 10:15 AMtheapache64
04/10/2021, 10:16 AMAaron Yoder
04/10/2021, 10:16 AMCanvas#drawImageRect
theapache64
04/10/2021, 10:17 AMColton Idle
04/11/2021, 2:07 AM