提交 cd3adc25 编写于 作者: C Collin Jackson

Painting images should not anti-alias (improves performance)

上级 a9f33ddb
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册