do not print in _computePixelDensity (#22257)

This commit is contained in:
Yegor 2020-11-02 17:32:29 -08:00 committed by GitHub
parent bd19181117
commit e9c62e7495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);