提交 caafb616 编写于 作者: I Ian Fischer

Change all child.paint calls to canvas.paintChild and update the test results.

R=abarth@chromium.org, abarth@google.com, ianh@google.com

Review URL: https://codereview.chromium.org/1208993020 .
上级 294497b0
......@@ -489,7 +489,7 @@ class RenderProxyBox extends RenderBox with RenderObjectWithChildMixin<RenderBox
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null)
child.paint(canvas, offset);
canvas.paintChild(child, offset.toPoint());
}
}
......@@ -662,7 +662,7 @@ class RenderOpacity extends RenderProxyBox {
return;
if (a == 255) {
child.paint(canvas, offset);
canvas.paintChild(child, offset.toPoint());
return;
}
......@@ -670,7 +670,7 @@ class RenderOpacity extends RenderProxyBox {
..color = new Color.fromARGB(a, 0, 0, 0)
..setTransferMode(sky.TransferMode.srcOver);
canvas.saveLayer(null, paint);
child.paint(canvas, offset);
canvas.paintChild(child, offset.toPoint());
canvas.restore();
}
}
......@@ -706,7 +706,7 @@ class RenderColorFilter extends RenderProxyBox {
Paint paint = new Paint()
..setColorFilter(new sky.ColorFilter.mode(_color, _transferMode));
canvas.saveLayer(null, paint);
child.paint(canvas, offset);
canvas.paintChild(child, offset.toPoint());
canvas.restore();
}
}
......@@ -719,7 +719,7 @@ class RenderClipRect extends RenderProxyBox {
if (child != null) {
canvas.save();
canvas.clipRect(offset & size);
child.paint(canvas, offset);
canvas.paintChild(child, offset.toPoint());
canvas.restore();
}
}
......@@ -758,7 +758,7 @@ class RenderClipRRect extends RenderProxyBox {
canvas.saveLayer(rect, new Paint());
sky.RRect rrect = new sky.RRect()..setRectXY(rect, xRadius, yRadius);
canvas.clipRRect(rrect);
child.paint(canvas, offset);
canvas.paintChild(child, offset.toPoint());
canvas.restore();
}
}
......@@ -774,7 +774,7 @@ class RenderClipOval extends RenderProxyBox {
Path path = new Path();
path.addOval(rect);
canvas.clipPath(path);
child.paint(canvas, offset);
canvas.paintChild(child, offset.toPoint());
canvas.restore();
}
}
......
此差异已折叠。
此差异已折叠。
......@@ -11,108 +11,142 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | paintChild RenderDecoratedBox at Point(0.0, 56.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xfffafafa)))
2 | | | paintChild RenderFlex at Point(8.0, 56.0)
2 | | | paintChild RenderPadding at Point(0.0, 56.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderParagraph at Point(8.0, 163.5)
2 | | | | paintChild RenderFlex at Point(8.0, 56.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 163.5)
2 | | | | | translate(-8.0, -163.5)
2 | | | | paintChild RenderPadding at Point(8.0, 213.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 223.5)
2 | | | | | paintChild RenderParagraph at Point(8.0, 163.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | paintChild RenderParagraph at Point(8.0, 233.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 233.5)
2 | | | | | translate(-8.0, -233.5)
2 | | | | paintChild RenderPadding at Point(8.0, 249.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 259.5)
2 | | | | | | translate(8.0, 163.5)
2 | | | | | | translate(-8.0, -163.5)
2 | | | | | paintChild RenderPadding at Point(8.0, 213.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | paintChild RenderParagraph at Point(8.0, 269.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 269.5)
2 | | | | | translate(-8.0, -269.5)
2 | | | | paintChild RenderPadding at Point(8.0, 294.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 304.5)
2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 223.5)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 223.5)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 223.5)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(8.0, 233.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | paintChild RenderParagraph at Point(8.0, 314.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 314.5)
2 | | | | | translate(-8.0, -314.5)
2 | | | | paintChild RenderPadding at Point(8.0, 330.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 340.5)
2 | | | | | | translate(8.0, 233.5)
2 | | | | | | translate(-8.0, -233.5)
2 | | | | | paintChild RenderPadding at Point(8.0, 249.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | paintChild RenderParagraph at Point(8.0, 350.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 350.5)
2 | | | | | translate(-8.0, -350.5)
2 | | | | paintChild RenderPadding at Point(8.0, 375.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 385.5)
2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 259.5)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 259.5)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 259.5)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(8.0, 269.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | paintChild RenderParagraph at Point(8.0, 395.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 395.5)
2 | | | | | translate(-8.0, -395.5)
2 | | | | paintChild RenderPadding at Point(8.0, 411.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 421.5)
2 | | | | | | translate(8.0, 269.5)
2 | | | | | | translate(-8.0, -269.5)
2 | | | | | paintChild RenderPadding at Point(8.0, 294.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | paintChild RenderParagraph at Point(8.0, 431.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 431.5)
2 | | | | | translate(-8.0, -431.5)
2 | | | | paintChild RenderPadding at Point(8.0, 456.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 466.5)
2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 304.5)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 304.5)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 304.5)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(8.0, 314.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | paintChild RenderParagraph at Point(8.0, 476.5)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 476.5)
2 | | | | | translate(-8.0, -476.5)
2 | | | | | | translate(8.0, 314.5)
2 | | | | | | translate(-8.0, -314.5)
2 | | | | | paintChild RenderPadding at Point(8.0, 330.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 340.5)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 340.5)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 340.5)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(8.0, 350.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | translate(8.0, 350.5)
2 | | | | | | translate(-8.0, -350.5)
2 | | | | | paintChild RenderPadding at Point(8.0, 375.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 385.5)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 385.5)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 385.5)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(8.0, 395.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | translate(8.0, 395.5)
2 | | | | | | translate(-8.0, -395.5)
2 | | | | | paintChild RenderPadding at Point(8.0, 411.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 421.5)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 421.5)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 421.5)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(8.0, 431.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | translate(8.0, 431.5)
2 | | | | | | translate(-8.0, -431.5)
2 | | | | | paintChild RenderPadding at Point(8.0, 456.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 466.5)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 466.5)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 466.5)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(8.0, 476.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | translate(8.0, 476.5)
2 | | | | | | translate(-8.0, -476.5)
2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 56.0), Paint(color:Color(0xff2196f3), drawLooper:true))
2 | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | paintChild RenderPadding at Point(0.0, 0.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(8.0, 0.0)
2 | | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderPadding at Point(8.0, 14.0)
2 | | | | | paintChild RenderConstrainedBox at Point(8.0, 0.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(32.0, 14.0)
2 | | | | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(32.0, 14.0)
2 | | | | | | | translate(-32.0, -14.0)
2 | | | | | | | paintChild RenderPadding at Point(8.0, 14.0)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | paintChild RenderParagraph at Point(32.0, 14.0)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | translate(32.0, 14.0)
2 | | | | | | | | | translate(-32.0, -14.0)
------------------------------------------------------------------------
PAINTED 2 FRAMES
此差异已折叠。
......@@ -5,10 +5,14 @@ PAINT FOR FRAME #1 ----------------------------------------------
1 | paintChild RenderDecoratedBox at Point(0.0, 0.0)
1 | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 600.0), Paint(color:Color(0xff0000ff)))
1 | | paintChild RenderPadding at Point(0.0, 0.0)
1 | | paintChild RenderBlock at Point(0.0, 0.0)
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | paintChild RenderDecoratedBox at Point(50.0, 50.0)
1 | | | paintChild RenderPadding at Point(0.0, 0.0)
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | drawRect(Rect.fromLTRB(50.0, 50.0, 750.0, 150.0), Paint(color:Color(0xff00ff00)))
1 | | | | paintChild RenderDecoratedBox at Point(50.0, 50.0)
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | drawRect(Rect.fromLTRB(50.0, 50.0, 750.0, 150.0), Paint(color:Color(0xff00ff00)))
1 | | | | | paintChild RenderConstrainedBox at Point(50.0, 50.0)
1 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
PAINTED 1 FRAMES
......@@ -5,8 +5,10 @@ PAINT FOR FRAME #1 ----------------------------------------------
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | paintChild RenderDecoratedBox at Point(0.0, 0.0)
1 | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | paintChild RenderDecoratedBox at Point(10.0, 10.0)
1 | | paintChild RenderPadding at Point(0.0, 0.0)
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | paintChild RenderDecoratedBox at Point(10.0, 10.0)
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE: PASS: should not have a 0 sized colored Box
CONSOLE:
......
......@@ -6,32 +6,38 @@ PAINT FOR FRAME #1 ----------------------------------------------
1 | paintChild RenderDecoratedBox at Point(0.0, 0.0)
1 | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 600.0), Paint(color:Color(0xff000000)))
1 | | paintChild RenderSolidColor at Point(0.0, 0.0)
1 | | paintChild RenderFlex at Point(0.0, 0.0)
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 82.5), Paint(color:Color(0xffffff00)))
1 | | paintChild RenderSolidColor at Point(350.0, 82.5)
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | drawRect(Rect.fromLTRB(350.0, 82.5, 450.0, 182.5), Paint(color:Color(0x7700ffff)))
1 | | paintChild RenderPadding at Point(0.0, 182.5)
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | paintChild RenderDecoratedBox at Point(10.0, 192.5)
1 | | | paintChild RenderSolidColor at Point(0.0, 0.0)
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | drawRect(Rect.fromLTRB(10.0, 192.5, 790.0, 342.5), Paint(color:Color(0xffffffff)))
1 | | | | paintChild RenderSolidColor at Point(10.0, 192.5)
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | drawRect(Rect.fromLTRB(10.0, 192.5, 790.0, 242.5), Paint(color:Color(0xff00ff00)))
1 | | | | paintChild RenderSolidColor at Point(10.0, 242.5)
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | drawRect(Rect.fromLTRB(10.0, 242.5, 790.0, 342.5), Paint(color:Color(0x7700ffff)))
1 | | paintChild RenderDecoratedBox at Point(0.0, 352.5)
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | drawRect(Rect.fromLTRB(0.0, 352.5, 800.0, 600.0), Paint(color:Color(0xff333333)))
1 | | | paintChild RenderSolidColor at Point(0.0, 352.5)
1 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 82.5), Paint(color:Color(0xffffff00)))
1 | | | paintChild RenderSolidColor at Point(350.0, 82.5)
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | drawRect(Rect.fromLTRB(350.0, 82.5, 450.0, 182.5), Paint(color:Color(0x7700ffff)))
1 | | | paintChild RenderPadding at Point(0.0, 182.5)
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | drawRect(Rect.fromLTRB(0.0, 352.5, 266.6666564941406, 600.0), Paint(color:Color(0x77ff00ff)))
1 | | | paintChild RenderSolidColor at Point(266.6666666666667, 352.5)
1 | | | | paintChild RenderDecoratedBox at Point(10.0, 192.5)
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | drawRect(Rect.fromLTRB(10.0, 192.5, 790.0, 342.5), Paint(color:Color(0xffffffff)))
1 | | | | | paintChild RenderBlock at Point(10.0, 192.5)
1 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | | paintChild RenderSolidColor at Point(10.0, 192.5)
1 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | | | drawRect(Rect.fromLTRB(10.0, 192.5, 790.0, 242.5), Paint(color:Color(0xff00ff00)))
1 | | | | | | paintChild RenderSolidColor at Point(10.0, 242.5)
1 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | | | drawRect(Rect.fromLTRB(10.0, 242.5, 790.0, 342.5), Paint(color:Color(0x7700ffff)))
1 | | | paintChild RenderDecoratedBox at Point(0.0, 352.5)
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | drawRect(Rect.fromLTRB(266.6666564941406, 352.5, 800.0, 600.0), Paint(color:Color(0xff0000ff)))
1 | | | | drawRect(Rect.fromLTRB(0.0, 352.5, 800.0, 600.0), Paint(color:Color(0xff333333)))
1 | | | | paintChild RenderFlex at Point(0.0, 352.5)
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | paintChild RenderSolidColor at Point(0.0, 352.5)
1 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | | drawRect(Rect.fromLTRB(0.0, 352.5, 266.6666564941406, 600.0), Paint(color:Color(0x77ff00ff)))
1 | | | | | paintChild RenderSolidColor at Point(266.6666666666667, 352.5)
1 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | | drawRect(Rect.fromLTRB(266.6666564941406, 352.5, 800.0, 600.0), Paint(color:Color(0xff0000ff)))
------------------------------------------------------------------------
CONSOLE: PASS: should flex
CONSOLE:
......
......@@ -12,13 +12,21 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
2 | | | | paintChild RenderPositionedBox at Point(364.0, 282.0)
2 | | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(370.0, 290.0)
2 | | | | | paintChild RenderDecoratedBox at Point(356.0, 282.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | translate(370.0, 290.0)
2 | | | | | | translate(-370.0, -290.0)
2 | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
2 | | | | | | paintChild RenderInkWell at Point(356.0, 282.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderPadding at Point(356.0, 282.0)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | paintChild RenderPositionedBox at Point(364.0, 282.0)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | paintChild RenderParagraph at Point(370.0, 290.0)
2 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | translate(370.0, 290.0)
2 | | | | | | | | | | translate(-370.0, -290.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #3 ----------------------------------------------
......@@ -29,12 +37,20 @@ PAINT FOR FRAME #3 ----------------------------------------------
3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | paintChild RenderPositionedBox at Point(364.0, 282.0)
3 | | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | paintChild RenderParagraph at Point(370.0, 290.0)
3 | | | | | paintChild RenderDecoratedBox at Point(356.0, 282.0)
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | translate(370.0, 290.0)
3 | | | | | | translate(-370.0, -290.0)
3 | | | | | | paintChild RenderInkWell at Point(356.0, 282.0)
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | paintChild RenderPadding at Point(356.0, 282.0)
3 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | paintChild RenderPositionedBox at Point(364.0, 282.0)
3 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | paintChild RenderParagraph at Point(370.0, 290.0)
3 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | | translate(370.0, 290.0)
3 | | | | | | | | | | translate(-370.0, -290.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #4 ----------------------------------------------
......@@ -44,12 +60,20 @@ PAINT FOR FRAME #4 ----------------------------------------------
4 | | paintChild RenderDecoratedBox at Point(372.0, 272.0)
4 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | drawCircle(Point(400.0, 300.0), 28.0, Paint(color:Color(0xffff4081), drawLooper:true))
4 | | | saveLayer(Rect.fromLTRB(372.0, 272.0, 428.0, 328.0), Paint(color:Color(0xff000000)))
4 | | | clipPath(Instance of 'Path')
4 | | | paintChild RenderParagraph at Point(394.0, 290.0)
4 | | | paintChild RenderClipOval at Point(372.0, 272.0)
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | translate(394.0, 290.0)
4 | | | | translate(-394.0, -290.0)
4 | | | restore
4 | | | | saveLayer(Rect.fromLTRB(372.0, 272.0, 428.0, 328.0), Paint(color:Color(0xff000000)))
4 | | | | clipPath(Instance of 'Path')
4 | | | | paintChild RenderConstrainedBox at Point(372.0, 272.0)
4 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | paintChild RenderInkWell at Point(372.0, 272.0)
4 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | paintChild RenderPositionedBox at Point(372.0, 272.0)
4 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | paintChild RenderParagraph at Point(394.0, 290.0)
4 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | translate(394.0, 290.0)
4 | | | | | | | | translate(-394.0, -290.0)
4 | | | | restore
------------------------------------------------------------------------
PAINTED 4 FRAMES
......@@ -11,30 +11,38 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 600.0), Paint(color:Color(0x7f000000)))
2 | | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderPositionedBox at Point(0.0, 0.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderPadding at Point(220.0, 194.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(260.0, 218.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffffffff), drawLooper:true))
2 | | | | | paintChild RenderPadding at Point(260.0, 218.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(284.0, 242.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(284.0, 242.0)
2 | | | | | | | translate(-284.0, -242.0)
2 | | | | | paintChild RenderPadding at Point(260.0, 270.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(284.0, 290.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(284.0, 290.0)
2 | | | | | | | translate(-284.0, -290.0)
2 | | | | | paintChild RenderFlex at Point(260.0, 362.0)
2 | | | | | paintChild RenderDecoratedBox at Point(260.0, 218.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(411.0, 362.0)
2 | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffffffff), drawLooper:true))
2 | | | | | | paintChild RenderShrinkWrapWidth at Point(260.0, 218.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(411.0, 362.0)
2 | | | | | | | translate(-411.0, -362.0)
2 | | | | | | | paintChild RenderBlock at Point(260.0, 218.0)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | paintChild RenderPadding at Point(260.0, 218.0)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | paintChild RenderParagraph at Point(284.0, 242.0)
2 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | translate(284.0, 242.0)
2 | | | | | | | | | | translate(-284.0, -242.0)
2 | | | | | | | | paintChild RenderPadding at Point(260.0, 270.0)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | paintChild RenderParagraph at Point(284.0, 290.0)
2 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | translate(284.0, 290.0)
2 | | | | | | | | | | translate(-284.0, -290.0)
2 | | | | | | | | paintChild RenderFlex at Point(260.0, 362.0)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | paintChild RenderParagraph at Point(411.0, 362.0)
2 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | translate(411.0, 362.0)
2 | | | | | | | | | | translate(-411.0, -362.0)
------------------------------------------------------------------------
PAINTED 2 FRAMES
......@@ -10,36 +10,60 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | paintChild RenderFlex at Point(0.0, 0.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 425.0, 250.0), Paint(color:Color(0xff00ffff)))
2 | | | paintChild RenderPadding at Point(425.0, 99.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
2 | | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 425.0, 250.0), Paint(color:Color(0xff00ffff)))
2 | | | | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderPadding at Point(425.0, 99.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
2 | | | | | paintChild RenderPositionedBox at Point(441.0, 107.0)
2 | | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(441.0, 115.0)
2 | | | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(441.0, 115.0)
2 | | | | | | | translate(-441.0, -115.0)
2 | | | | | | | paintChild RenderDecoratedBox at Point(433.0, 107.0)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
2 | | | | | | | | paintChild RenderInkWell at Point(433.0, 107.0)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | paintChild RenderPadding at Point(433.0, 107.0)
2 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | paintChild RenderPositionedBox at Point(441.0, 107.0)
2 | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | | paintChild RenderParagraph at Point(441.0, 115.0)
2 | | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | | | translate(441.0, 115.0)
2 | | | | | | | | | | | | translate(-441.0, -115.0)
2 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
2 | | | paintChild RenderStack at Point(0.0, 250.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xff00ffff)))
2 | | | paintChild RenderPadding at Point(0.0, 250.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
2 | | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
2 | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
2 | | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xff00ffff)))
2 | | | | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(228.5, 365.0)
2 | | | | paintChild RenderPadding at Point(0.0, 250.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(228.5, 365.0)
2 | | | | | | | translate(-228.5, -365.0)
2 | | | | | | | paintChild RenderDecoratedBox at Point(8.0, 258.0)
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
2 | | | | | | | | paintChild RenderInkWell at Point(8.0, 258.0)
2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | paintChild RenderPadding at Point(8.0, 258.0)
2 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
2 | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | | paintChild RenderParagraph at Point(228.5, 365.0)
2 | | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | | | | | translate(228.5, 365.0)
2 | | | | | | | | | | | | translate(-228.5, -365.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #3 ----------------------------------------------
......@@ -48,36 +72,60 @@ PAINT FOR FRAME #3 ----------------------------------------------
3 | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 549.0, 250.0), Paint(color:Color(0xefff9f00)))
3 | | | paintChild RenderPadding at Point(549.0, 99.0)
3 | | | paintChild RenderFlex at Point(0.0, 0.0)
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | paintChild RenderConstrainedBox at Point(557.0, 107.0)
3 | | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 549.0, 250.0), Paint(color:Color(0xefff9f00)))
3 | | | | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | paintChild RenderPadding at Point(549.0, 99.0)
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
3 | | | | | paintChild RenderPositionedBox at Point(565.0, 107.0)
3 | | | | | paintChild RenderConstrainedBox at Point(557.0, 107.0)
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | paintChild RenderParagraph at Point(565.0, 115.0)
3 | | | | | | paintChild RenderConstrainedBox at Point(557.0, 107.0)
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | translate(565.0, 115.0)
3 | | | | | | | translate(-565.0, -115.0)
3 | | | | | | | paintChild RenderDecoratedBox at Point(557.0, 107.0)
3 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
3 | | | | | | | | paintChild RenderInkWell at Point(557.0, 107.0)
3 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | paintChild RenderPadding at Point(557.0, 107.0)
3 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | | paintChild RenderPositionedBox at Point(565.0, 107.0)
3 | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | | | paintChild RenderParagraph at Point(565.0, 115.0)
3 | | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | | | | translate(565.0, 115.0)
3 | | | | | | | | | | | | translate(-565.0, -115.0)
3 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
3 | | | paintChild RenderStack at Point(0.0, 250.0)
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xefff9f00)))
3 | | | paintChild RenderPadding at Point(0.0, 250.0)
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
3 | | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xefff9f00)))
3 | | | | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | paintChild RenderPadding at Point(0.0, 250.0)
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
3 | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
3 | | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | paintChild RenderParagraph at Point(290.5, 365.0)
3 | | | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | translate(290.5, 365.0)
3 | | | | | | | translate(-290.5, -365.0)
3 | | | | | | | paintChild RenderDecoratedBox at Point(8.0, 258.0)
3 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
3 | | | | | | | | paintChild RenderInkWell at Point(8.0, 258.0)
3 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | paintChild RenderPadding at Point(8.0, 258.0)
3 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
3 | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | | | paintChild RenderParagraph at Point(290.5, 365.0)
3 | | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | | | | | translate(290.5, 365.0)
3 | | | | | | | | | | | | translate(-290.5, -365.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #4 ----------------------------------------------
......@@ -86,35 +134,59 @@ PAINT FOR FRAME #4 ----------------------------------------------
4 | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
4 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
4 | | | paintChild RenderFlex at Point(0.0, 0.0)
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 425.0, 250.0), Paint(color:Color(0xff00ffff)))
4 | | | paintChild RenderPadding at Point(425.0, 99.0)
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
4 | | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
4 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
4 | | | | | paintChild RenderPositionedBox at Point(441.0, 107.0)
4 | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 425.0, 250.0), Paint(color:Color(0xff00ffff)))
4 | | | | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
4 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | paintChild RenderParagraph at Point(441.0, 115.0)
4 | | | | paintChild RenderPadding at Point(425.0, 99.0)
4 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
4 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
4 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | translate(441.0, 115.0)
4 | | | | | | | translate(-441.0, -115.0)
4 | | | | | | | paintChild RenderDecoratedBox at Point(433.0, 107.0)
4 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
4 | | | | | | | | paintChild RenderInkWell at Point(433.0, 107.0)
4 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | paintChild RenderPadding at Point(433.0, 107.0)
4 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | | paintChild RenderPositionedBox at Point(441.0, 107.0)
4 | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | | | paintChild RenderParagraph at Point(441.0, 115.0)
4 | | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | | | | translate(441.0, 115.0)
4 | | | | | | | | | | | | translate(-441.0, -115.0)
4 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
4 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xff00ffff)))
4 | | | paintChild RenderPadding at Point(0.0, 250.0)
4 | | | paintChild RenderStack at Point(0.0, 250.0)
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
4 | | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
4 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | drawRect(Rect.fromLTRB(0.0, 250.0, 800.0, 500.0), Paint(color:Color(0xff00ffff)))
4 | | | | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
4 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | paintChild RenderPadding at Point(0.0, 250.0)
4 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
4 | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
4 | | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
4 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | paintChild RenderParagraph at Point(228.5, 365.0)
4 | | | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
4 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | translate(228.5, 365.0)
4 | | | | | | | translate(-228.5, -365.0)
4 | | | | | | | paintChild RenderDecoratedBox at Point(8.0, 258.0)
4 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
4 | | | | | | | | paintChild RenderInkWell at Point(8.0, 258.0)
4 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | paintChild RenderPadding at Point(8.0, 258.0)
4 | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | | paintChild RenderPositionedBox at Point(16.0, 258.0)
4 | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | | | paintChild RenderParagraph at Point(228.5, 365.0)
4 | | | | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | | | | | | translate(228.5, 365.0)
4 | | | | | | | | | | | | translate(-228.5, -365.0)
------------------------------------------------------------------------
PAINTED 4 FRAMES
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册