do not print in _computePixelDensity (flutter/engine#22257)

This commit is contained in:
Yegor
2020-11-02 17:32:29 -08:00
committed by GitHub
parent 396ad5a9a9
commit a6c8d6a23f

View File

@@ -649,7 +649,6 @@ double _computePixelDensity(Matrix4? transform, double width, double height) {
double wp = 1.0 / ((m[3] * x) + (m[7] * y) + m[15]);
double xp = ((m[0] * x) + (m[4] * y) + m[12]) * wp;
double yp = ((m[1] * x) + (m[5] * y) + m[13]) * wp;
print('$xp,$yp');
minX = math.min(minX, xp);
maxX = math.max(maxX, xp);
minY = math.min(minY, yp);
@@ -658,7 +657,6 @@ double _computePixelDensity(Matrix4? transform, double width, double height) {
wp = 1.0 / ((m[3] * x) + (m[7] * y) + m[15]);
xp = ((m[0] * x) + (m[4] * y) + m[12]) * wp;
yp = ((m[1] * x) + (m[5] * y) + m[13]) * wp;
print('$xp,$yp');
minX = math.min(minX, xp);
maxX = math.max(maxX, xp);
minY = math.min(minY, yp);
@@ -668,7 +666,6 @@ double _computePixelDensity(Matrix4? transform, double width, double height) {
wp = 1.0 / ((m[3] * x) + (m[7] * y) + m[15]);
xp = ((m[0] * x) + (m[4] * y) + m[12]) * wp;
yp = ((m[1] * x) + (m[5] * y) + m[13]) * wp;
print('$xp,$yp');
minX = math.min(minX, xp);
maxX = math.max(maxX, xp);
minY = math.min(minY, yp);