Clark Kent
unread,Sep 15, 2022, 10:48:34 PM9/15/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-discuss
what can we use as an alternative to the removed SkPaint.FilterQuality api ?
eg
Save();
float scale = dstDensity / (float)srcDensity;
Translate(left, top);
Scale(scale, scale);
SKPaint filteredPaint = paint == null ? new SKPaint() : paint;
filteredPaint.FilterQuality = SKFilterQuality.Low;
DrawNinePatch(bitmap, nativeChunk, 0, 0, (right - left) / scale, (bottom - top) / scale, filteredPaint);
Restore();