Painting images should not anti-alias (improves performance)

This commit is contained in:
Collin Jackson 2015-10-09 14:54:03 -07:00
parent f864ec267a
commit 6e37b51c0e

View File

@ -456,7 +456,7 @@ void paintImage({
break;
}
// TODO(abarth): Implement |repeat|.
Paint paint = new Paint();
Paint paint = new Paint()..isAntiAlias = false;
if (colorFilter != null)
paint.colorFilter = colorFilter;
double dx = (bounds.width - destinationSize.width) * positionX;