Commit 6e37b51c authored by Collin Jackson's avatar Collin Jackson

Painting images should not anti-alias (improves performance)

parent f864ec26
...@@ -456,7 +456,7 @@ void paintImage({ ...@@ -456,7 +456,7 @@ void paintImage({
break; break;
} }
// TODO(abarth): Implement |repeat|. // TODO(abarth): Implement |repeat|.
Paint paint = new Paint(); Paint paint = new Paint()..isAntiAlias = false;
if (colorFilter != null) if (colorFilter != null)
paint.colorFilter = colorFilter; paint.colorFilter = colorFilter;
double dx = (bounds.width - destinationSize.width) * positionX; double dx = (bounds.width - destinationSize.width) * positionX;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment