Rename RenderCanvas to PaintingCanvas to avoid confusion with other classes that inherit from RenderObject.

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

Review URL: https://codereview.chromium.org/1217933002.
This commit is contained in:
Ian Fischer 2015-06-29 14:19:30 -07:00
parent 8633179599
commit c4db2df60f
30 changed files with 526 additions and 525 deletions

View File

@ -372,7 +372,7 @@ class StarField extends Node {
}
}
void paint(RenderCanvas canvas) {
void paint(PaintingCanvas canvas) {
// Setup paint object for opacity and transfer mode
Paint paint = new Paint();
paint.setTransferMode(TransferMode.plus);

View File

@ -395,7 +395,7 @@ class Node {
// Rendering
void _visit(RenderCanvas canvas) {
void _visit(PaintingCanvas canvas) {
assert(canvas != null);
if (!visible) return;
@ -404,7 +404,7 @@ class Node {
_postPaint(canvas);
}
void _prePaint(RenderCanvas canvas) {
void _prePaint(PaintingCanvas canvas) {
canvas.save();
// Get the transformation matrix and apply transform
@ -419,7 +419,7 @@ class Node {
/// bounding box's origin, override [NodeWithSize] and call the applyTransformForPivot method before making calls for
/// drawing.
///
/// void paint(RenderCanvas canvas) {
/// void paint(PaintingCanvas canvas) {
/// canvas.save();
/// applyTransformForPivot(canvas);
///
@ -427,10 +427,10 @@ class Node {
///
/// canvas.restore();
/// }
void paint(RenderCanvas canvas) {
void paint(PaintingCanvas canvas) {
}
void _visitChildren(RenderCanvas canvas) {
void _visitChildren(PaintingCanvas canvas) {
// Sort children if needed
_sortChildren();
@ -455,7 +455,7 @@ class Node {
}
}
void _postPaint(RenderCanvas canvas) {
void _postPaint(PaintingCanvas canvas) {
canvas.restore();
}

View File

@ -32,7 +32,7 @@ abstract class NodeWithSize extends Node {
/// If you use this method you will need to save and restore your canvas at the beginning and
/// end of your [paint] method.
///
/// void paint(RenderCanvas canvas) {
/// void paint(PaintingCanvas canvas) {
/// canvas.save();
/// applyTransformForPivot(canvas);
///
@ -40,7 +40,7 @@ abstract class NodeWithSize extends Node {
///
/// canvas.restore();
/// }
void applyTransformForPivot(RenderCanvas canvas) {
void applyTransformForPivot(PaintingCanvas canvas) {
if (pivot.x != 0 || pivot.y != 0) {
double pivotInPointsX = size.width * pivot.x;
double pivotInPointsY = size.height * pivot.y;

View File

@ -64,7 +64,7 @@ class Sprite extends NodeWithSize {
_opacity = opacity;
}
void paint(RenderCanvas canvas) {
void paint(PaintingCanvas canvas) {
canvas.save();
// Account for pivot point

View File

@ -251,7 +251,7 @@ class SpriteBox extends RenderBox {
_rootNode._invalidateToBoxTransformMatrix();
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
canvas.save();
// Move to correct coordinate space before drawing

View File

@ -127,7 +127,7 @@ abstract class RenderDecoratedSector extends RenderSector {
}
// offset must point to the center of the circle
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
assert(deltaRadius != null);
assert(deltaTheta != null);
assert(parentData is SectorParentData);
@ -264,7 +264,7 @@ class RenderSectorRing extends RenderSectorWithChildren {
// offset must point to the center of our circle
// each sector then knows how to paint itself at its location
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
// TODO(ianh): avoid code duplication
super.paint(canvas, offset);
RenderSector child = firstChild;
@ -369,7 +369,7 @@ class RenderSectorSlice extends RenderSectorWithChildren {
// offset must point to the center of our circle
// each sector then knows how to paint itself at its location
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
// TODO(ianh): avoid code duplication
super.paint(canvas, offset);
RenderSector child = firstChild;
@ -462,7 +462,7 @@ class RenderBoxToRenderSectorAdapter extends RenderBox {
}
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
super.paint(canvas, offset);
if (child != null) {
Rect bounds = offset & size;

View File

@ -33,7 +33,7 @@ class Dot {
radius = 5 + (95 * event.pressure);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
canvas.drawCircle(position + offset, radius, _paint);
}
}
@ -68,7 +68,7 @@ class RenderTouchDemo extends RenderBox {
size = constraints.biggest;
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
Paint white = new Paint()
..color = const Color(0xFFFFFFFF);
canvas.drawRect(offset & size, white);

View File

@ -44,9 +44,10 @@ render tree:
layout without the parent undergoing layout.
* Subclasses of `RenderObject` must implement a `paint` function that draws a
visual representation of the object onto a `RenderCanvas`. If
visual representation of the object onto a `PaintingCanvas`. If
the `RenderObject` has children, the `RenderObject` is responsible for
painting its children using the `paintChild` function on the `RenderCanvas`.
painting its children using the `paintChild` function on the
`PaintingCanvas`.
* Subclasses of `RenderObject` must call `adoptChild` whenever they add a
child. Similarly, they must call `dropChild` whenever they remove a child.

View File

@ -102,7 +102,7 @@ class RenderBlock extends RenderBox with ContainerRenderObjectMixin<RenderBox, B
defaultHitTestChildren(result, position: position);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
defaultPaint(canvas, offset);
}

View File

@ -429,7 +429,7 @@ class RenderProxyBox extends RenderBox with RenderObjectWithChildMixin<RenderBox
super.hitTestChildren(result, position: position);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null)
child.paint(canvas, offset);
}
@ -550,7 +550,7 @@ class RenderOpacity extends RenderProxyBox {
markNeedsPaint();
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null) {
int a = (_opacity * 255).round();
@ -597,7 +597,7 @@ class RenderColorFilter extends RenderProxyBox {
markNeedsPaint();
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null) {
Paint paint = new Paint()
..setColorFilter(new sky.ColorFilter.mode(_color, _transferMode));
@ -611,7 +611,7 @@ class RenderColorFilter extends RenderProxyBox {
class RenderClipRect extends RenderProxyBox {
RenderClipRect({ RenderBox child }) : super(child);
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null) {
canvas.save();
canvas.clipRect(offset & size);
@ -648,7 +648,7 @@ class RenderClipRRect extends RenderProxyBox {
markNeedsPaint();
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null) {
Rect rect = offset & size;
canvas.saveLayer(rect, new Paint());
@ -663,7 +663,7 @@ class RenderClipRRect extends RenderProxyBox {
class RenderClipOval extends RenderProxyBox {
RenderClipOval({ RenderBox child }) : super(child);
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null) {
Rect rect = offset & size;
canvas.saveLayer(rect, new Paint());
@ -684,7 +684,7 @@ abstract class RenderShiftedBox extends RenderBox with RenderObjectWithChildMixi
this.child = child;
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null)
canvas.paintChild(child, child.parentData.position + offset);
}
@ -934,7 +934,7 @@ class RenderImage extends RenderBox {
size = _sizeForConstraints(constraints);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (_image == null)
return;
bool needsScale = size.width != _image.width || size.height != _image.height;
@ -972,7 +972,7 @@ class RenderDecoratedBox extends RenderProxyBox {
markNeedsPaint();
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
assert(size.width != null);
assert(size.height != null);
_painter.paint(canvas, offset & size);
@ -1042,7 +1042,7 @@ class RenderTransform extends RenderProxyBox {
super.hitTestChildren(result, position: transformed);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
canvas.save();
canvas.translate(offset.dx, offset.dy);
canvas.concat(_transform.storage);
@ -1079,7 +1079,7 @@ class RenderSizeObserver extends RenderProxyBox {
}
}
typedef void CustomPaintCallback(RenderCanvas canvas, Size size);
typedef void CustomPaintCallback(PaintingCanvas canvas, Size size);
class RenderCustomPaint extends RenderProxyBox {
@ -1105,7 +1105,7 @@ class RenderCustomPaint extends RenderProxyBox {
super.attach();
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
assert(_callback != null);
canvas.translate(offset.dx, offset.dy);
_callback(canvas, size);
@ -1181,7 +1181,7 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox>
return true;
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (child != null)
canvas.paintChild(child, offset.toPoint());
}
@ -1191,7 +1191,7 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox>
RenderObject.debugDoingPaint = true;
try {
sky.PictureRecorder recorder = new sky.PictureRecorder();
RenderCanvas canvas = new RenderCanvas(recorder, _size);
PaintingCanvas canvas = new PaintingCanvas(recorder, _size);
paint(canvas, Offset.zero);
sky.view.picture = recorder.endRecording();
} finally {
@ -1255,7 +1255,7 @@ abstract class RenderBoxContainerDefaultsMixin<ChildType extends RenderBox, Pare
}
}
void defaultPaint(RenderCanvas canvas, Offset offset) {
void defaultPaint(PaintingCanvas canvas, Offset offset) {
RenderBox child = firstChild;
while (child != null) {
assert(child.parentData is ParentDataType);

View File

@ -394,7 +394,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
defaultHitTestChildren(result, position: position);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
defaultPaint(canvas, offset);
}
}

View File

@ -26,8 +26,8 @@ class ParentData {
String toString() => '<none>';
}
class RenderCanvas extends sky.Canvas {
RenderCanvas(sky.PictureRecorder recorder, Size bounds) : super(recorder, bounds);
class PaintingCanvas extends sky.Canvas {
PaintingCanvas(sky.PictureRecorder recorder, Size bounds) : super(recorder, bounds);
void paintChild(RenderObject child, Point point) {
child.paint(this, point.toOffset());
@ -243,7 +243,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
assert(!debugDoingPaint);
scheduler.ensureVisualUpdate();
}
void paint(RenderCanvas canvas, Offset offset) { }
void paint(PaintingCanvas canvas, Offset offset) { }
// EVENTS

View File

@ -172,7 +172,7 @@ class RenderParagraph extends RenderBox {
_applyFloatingPointHack(root.height)));
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
// Ideally we could compute the min/max intrinsic width/height with a
// non-destructive operation. However, currently, computing these values
// will destroy state inside the layout root. If that happens, we need to

View File

@ -195,7 +195,7 @@ class RenderStack extends RenderBox with ContainerRenderObjectMixin<RenderBox, S
defaultHitTestChildren(result, position: position);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
defaultPaint(canvas, offset);
}
}

View File

@ -52,7 +52,7 @@ class InkSplash {
well.markNeedsPaint();
}
void paint(RenderCanvas canvas) {
void paint(PaintingCanvas canvas) {
int opacity = (_kSplashInitialOpacity * (1.0 - (_radius.value / _targetRadius))).floor();
sky.Paint paint = new sky.Paint()..color = new sky.Color(opacity << 24);
canvas.drawCircle(position, _radius.value, paint);
@ -88,7 +88,7 @@ class RenderInkWell extends RenderProxyBox {
markNeedsPaint();
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (!_splashes.isEmpty) {
canvas.save();
canvas.translate(offset.dx, offset.dy);

View File

@ -126,7 +126,7 @@ class RenderScaffold extends RenderBox {
}
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
for (ScaffoldSlots slot in [ScaffoldSlots.body, ScaffoldSlots.statusBar, ScaffoldSlots.toolbar, ScaffoldSlots.floatingActionButton, ScaffoldSlots.drawer]) {
RenderBox box = _slots[slot];
if (box != null) {

View File

@ -131,7 +131,7 @@ class RenderTabBar extends RenderBox with
defaultHitTestChildren(result, position: position);
}
void _paintIndicator(RenderCanvas canvas, RenderBox selectedTab, Offset offset) {
void _paintIndicator(PaintingCanvas canvas, RenderBox selectedTab, Offset offset) {
if (indicatorColor == null)
return;
@ -144,7 +144,7 @@ class RenderTabBar extends RenderBox with
canvas.drawRect(rect, new Paint()..color = indicatorColor);
}
void paint(RenderCanvas canvas, Offset offset) {
void paint(PaintingCanvas canvas, Offset offset) {
if (backgroundColor != null) {
Rect rect = offset & size;
canvas.drawRect(rect, new Paint()..color = backgroundColor);

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,17 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #2 ----------------------------------------------
2 | TestRenderCanvas() constructor: 800.0 x 600.0
2 | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | paintChild RenderStack at Point(0.0, 0.0)
2 | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderScaffold at Point(0.0, 0.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | drawRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0), Paint(color:Color(0xfffafafa)))
2 | | | | save
2 | | | | clipRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0))
@ -21,48 +21,48 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | | | restore
2 | | | | restore
2 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff9c27b0), drawLooper:true))
2 | | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderPadding at Point(8.0, 33.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderImage at Point(16.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderPadding at Point(48.0, 41.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderParagraph at Point(72.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | translate(72.0, 41.0)
2 | | | | | | | | translate(-72.0, -41.0)
2 | | | | | | paintChild RenderPadding at Point(712.0, 33.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderImage at Point(720.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderPadding at Point(752.0, 33.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderImage at Point(760.0, 41.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | drawCircle(Point(756.0, 556.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true))
2 | | | | saveLayer(Rect.fromLTRB(728.0, 528.0, 784.0, 584.0), Paint(color:Color(0xff000000)))
2 | | | | clipPath(Instance of 'Path')
2 | | | | paintChild RenderImage at Point(744.0, 544.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | restore
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #3 ----------------------------------------------
3 | TestRenderCanvas() constructor: 800.0 x 600.0
3 | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | paintChild RenderStack at Point(0.0, 0.0)
3 | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | paintChild RenderScaffold at Point(0.0, 0.0)
3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | drawRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0), Paint(color:Color(0xfffafafa)))
3 | | | | save
3 | | | | clipRect(Rect.fromLTRB(0.0, 81.0, 800.0, 600.0))
@ -72,37 +72,37 @@ PAINT FOR FRAME #3 ----------------------------------------------
3 | | | | restore
3 | | | | restore
3 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff9c27b0), drawLooper:true))
3 | | | | paintChild RenderFlex at Point(8.0, 0.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | paintChild RenderPadding at Point(8.0, 33.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | paintChild RenderImage at Point(16.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | paintChild RenderPadding at Point(48.0, 41.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | paintChild RenderParagraph at Point(72.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | translate(72.0, 41.0)
3 | | | | | | | | translate(-72.0, -41.0)
3 | | | | | | paintChild RenderPadding at Point(712.0, 33.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | paintChild RenderImage at Point(720.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | paintChild RenderPadding at Point(752.0, 33.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | paintChild RenderImage at Point(760.0, 41.0)
3 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(728.0, 528.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | drawCircle(Point(756.0, 556.0), 28.0, Paint(color:Color(0xffff5252), drawLooper:true))
3 | | | | saveLayer(Rect.fromLTRB(728.0, 528.0, 784.0, 584.0), Paint(color:Color(0xff000000)))
3 | | | | clipPath(Instance of 'Path')
3 | | | | paintChild RenderImage at Point(744.0, 544.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | restore
------------------------------------------------------------------------
PAINTED 3 FRAMES

View File

@ -1,117 +1,117 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #2 ----------------------------------------------
2 | TestRenderCanvas() constructor: 800.0 x 600.0
2 | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | paintChild RenderScaffold at Point(0.0, 0.0)
2 | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.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, 81.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderParagraph at Point(8.0, 176.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 176.0)
2 | | | | | translate(-8.0, -176.0)
2 | | | | paintChild RenderPadding at Point(8.0, 226.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 236.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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, 246.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 246.0)
2 | | | | | translate(-8.0, -246.0)
2 | | | | paintChild RenderPadding at Point(8.0, 262.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 272.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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, 282.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 282.0)
2 | | | | | translate(-8.0, -282.0)
2 | | | | paintChild RenderPadding at Point(8.0, 307.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 317.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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, 327.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 327.0)
2 | | | | | translate(-8.0, -327.0)
2 | | | | paintChild RenderPadding at Point(8.0, 343.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 353.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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, 363.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 363.0)
2 | | | | | translate(-8.0, -363.0)
2 | | | | paintChild RenderPadding at Point(8.0, 388.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 398.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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, 408.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 408.0)
2 | | | | | translate(-8.0, -408.0)
2 | | | | paintChild RenderPadding at Point(8.0, 424.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 434.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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, 444.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 444.0)
2 | | | | | translate(-8.0, -444.0)
2 | | | | paintChild RenderPadding at Point(8.0, 469.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 479.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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, 489.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(8.0, 489.0)
2 | | | | | translate(-8.0, -489.0)
2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff2196f3), drawLooper:true))
2 | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderPadding at Point(8.0, 41.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(32.0, 41.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(32.0, 41.0)
2 | | | | | | | translate(-32.0, -41.0)
------------------------------------------------------------------------

View File

@ -1,77 +1,77 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #2 ----------------------------------------------
2 | TestRenderCanvas() constructor: 800.0 x 600.0
2 | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | paintChild RenderScaffold at Point(0.0, 0.0)
2 | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderDecoratedBox at Point(0.0, 81.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xfffafafa)))
2 | | | paintChild RenderTabBar at Point(0.0, 81.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | drawRect(Rect.fromLTRB(0.0, 81.0, 800.0, 155.0), Paint(color:Color(0xff3f51b5)))
2 | | | | paintChild RenderInkWell at Point(0.0, 81.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderOpacity at Point(104.83333333333334, 81.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderPadding at Point(121.33333333333334, 93.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderImage at Point(121.33333333333334, 93.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(104.83333333333334, 127.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(104.83333333333334, 127.0)
2 | | | | | | | translate(-104.83333333333334, -127.0)
2 | | | | drawRect(Rect.fromLTRB(0.0, 153.0, 266.6666564941406, 155.0), Paint(color:Color(0xffff4081)))
2 | | | | paintChild RenderInkWell at Point(266.6666666666667, 81.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderOpacity at Point(360.0, 81.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
2 | | | | | | paintChild RenderPadding at Point(388.0, 93.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderImage at Point(388.0, 93.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(360.0, 127.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(360.0, 127.0)
2 | | | | | | | translate(-360.0, -127.0)
2 | | | | | | restore
2 | | | | paintChild RenderInkWell at Point(533.3333333333334, 81.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderOpacity at Point(630.6666666666667, 81.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | saveLayer(null, Paint(color:Color(0xb3000000)))
2 | | | | | | paintChild RenderPadding at Point(654.6666666666667, 93.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | paintChild RenderImage at Point(654.6666666666667, 93.0)
2 | | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(630.6666666666667, 127.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(630.6666666666667, 127.0)
2 | | | | | | | translate(-630.6666666666667, -127.0)
2 | | | | | | restore
2 | | | paintChild RenderPositionedBox at Point(310.0, 155.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderParagraph at Point(310.0, 349.5)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | translate(310.0, 349.5)
2 | | | | | translate(-310.0, -349.5)
2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 81.0), Paint(color:Color(0xff3f51b5), drawLooper:true))
2 | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(8.0, 25.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderPadding at Point(8.0, 41.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(32.0, 41.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(32.0, 41.0)
2 | | | | | | | translate(-32.0, -41.0)
------------------------------------------------------------------------

View File

@ -1,14 +1,14 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | paintChild RenderDecoratedBox at Point(0.0, 0.0)
1 | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | paintChild RenderDecoratedBox at Point(50.0, 50.0)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.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)))
------------------------------------------------------------------------
PAINTED 1 FRAMES

View File

@ -2,11 +2,11 @@ CONSOLE: unittest-suite-wait-for-done
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | paintChild RenderDecoratedBox at Point(0.0, 0.0)
1 | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | paintChild RenderDecoratedBox at Point(10.0, 10.0)
1 | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE: PASS: should not have a 0 sized colored Box
CONSOLE:

View File

@ -2,9 +2,9 @@ CONSOLE: unittest-suite-wait-for-done
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | paintChild RenderDecoratedBox at Point(0.0, 0.0)
1 | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 600.0), Paint(color:Color(0xff00ff00), shader: SkRadialGradient: (center: (0, 0) radius: 500 2 colors: FFFFEB3B, FF2196F3 clamp), drawLooper:true))
------------------------------------------------------------------------
CONSOLE: PASS: should size to render view

View File

@ -2,35 +2,35 @@ CONSOLE: unittest-suite-wait-for-done
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | paintChild RenderDecoratedBox at Point(0.0, 0.0)
1 | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | TestRenderCanvas() constructor: 800.0 x 600.0
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 | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | paintChild RenderDecoratedBox at Point(10.0, 192.5)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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 | | | TestRenderCanvas() constructor: 800.0 x 600.0
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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
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

View File

@ -1,27 +1,27 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | paintChild RenderBoxToRenderSectorAdapter at Point(0.0, 0.0)
1 | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | paintChild RenderSectorRing at Point(400.0, 300.0)
1 | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | paintChild RenderSolidColor at Point(400.0, 300.0)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff00ffff)))
1 | | | paintChild RenderSolidColor at Point(400.0, 300.0)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff0000ff)))
1 | | | paintChild RenderSectorSlice at Point(400.0, 300.0)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | paintChild RenderSolidColor at Point(400.0, 300.0)
1 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xffffff00)))
1 | | | | paintChild RenderSolidColor at Point(400.0, 300.0)
1 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xffff9000)))
1 | | | | paintChild RenderSolidColor at Point(400.0, 300.0)
1 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
1 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
1 | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff00ff00)))
------------------------------------------------------------------------
PAINTED 1 FRAMES

View File

@ -10,11 +10,11 @@ import 'package:sky/rendering/object.dart';
typedef void Logger (String s);
class TestRenderCanvas extends RenderCanvas {
TestRenderCanvas(sky.PictureRecorder recorder, Size size, this.logger, { this.indent: '' })
class TestPaintingCanvas extends PaintingCanvas {
TestPaintingCanvas(sky.PictureRecorder recorder, Size size, this.logger, { this.indent: '' })
: size = size,
super(recorder, size) {
log("TestRenderCanvas() constructor: ${size.width} x ${size.height}");
log("TestPaintingCanvas() constructor: ${size.width} x ${size.height}");
}
final String indent;
@ -111,7 +111,7 @@ class TestRenderCanvas extends RenderCanvas {
void paintChild(RenderObject child, Point position) {
log("paintChild ${child.runtimeType} at $position");
child.paint(new TestRenderCanvas(new sky.PictureRecorder(), size, logger, indent: "$indent |"), position.toOffset());
child.paint(new TestPaintingCanvas(new sky.PictureRecorder(), size, logger, indent: "$indent |"), position.toOffset());
}
}
@ -138,7 +138,7 @@ class TestRenderView extends RenderView {
lastPaint = '';
log("PAINT FOR FRAME #${frame} ----------------------------------------------");
var recorder = new sky.PictureRecorder();
var canvas = new TestRenderCanvas(recorder, rootConstraints.size, log, indent: "${frame} |");
var canvas = new TestPaintingCanvas(recorder, rootConstraints.size, log, indent: "${frame} |");
paint(canvas, Offset.zero);
recorder.endRecording();
log("------------------------------------------------------------------------");

View File

@ -1,54 +1,54 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #2 ----------------------------------------------
2 | TestRenderCanvas() constructor: 800.0 x 600.0
2 | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | paintChild RenderPositionedBox at Point(0.0, 0.0)
2 | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderPadding at Point(348.0, 274.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | paintChild RenderParagraph at Point(370.0, 292.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | translate(370.0, 292.0)
2 | | | | | | translate(-370.0, -292.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #3 ----------------------------------------------
3 | TestRenderCanvas() constructor: 800.0 x 600.0
3 | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | paintChild RenderPositionedBox at Point(0.0, 0.0)
3 | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | paintChild RenderPadding at Point(348.0, 274.0)
3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0x00000000)))
3 | | | | paintChild RenderPositionedBox at Point(364.0, 282.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | paintChild RenderParagraph at Point(370.0, 292.0)
3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | translate(370.0, 292.0)
3 | | | | | | translate(-370.0, -292.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #4 ----------------------------------------------
4 | TestRenderCanvas() constructor: 800.0 x 600.0
4 | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | paintChild RenderPositionedBox at Point(0.0, 0.0)
4 | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | paintChild RenderDecoratedBox at Point(372.0, 272.0)
4 | | | TestRenderCanvas() constructor: 800.0 x 600.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, 292.0)
4 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | translate(394.0, 292.0)
4 | | | | translate(-394.0, -292.0)
4 | | | restore

View File

@ -1,39 +1,39 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #2 ----------------------------------------------
2 | TestRenderCanvas() constructor: 800.0 x 600.0
2 | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | paintChild RenderStack at Point(0.0, 0.0)
2 | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.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 RenderPositionedBox at Point(0.0, 0.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderPadding at Point(220.0, 212.5)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(260.0, 236.5)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.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, 236.5)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(284.0, 260.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(284.0, 260.5)
2 | | | | | | | translate(-284.0, -260.5)
2 | | | | | paintChild RenderPadding at Point(260.0, 284.5)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(284.0, 304.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(284.0, 304.5)
2 | | | | | | | translate(-284.0, -304.5)
2 | | | | | paintChild RenderFlex at Point(260.0, 347.5)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(411.0, 347.5)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(411.0, 347.5)
2 | | | | | | | translate(-411.0, -347.5)
------------------------------------------------------------------------

View File

@ -1,119 +1,119 @@
CONSOLE: TestRenderView enabled
CONSOLE:
PAINT FOR FRAME #1 ----------------------------------------------
1 | TestRenderCanvas() constructor: 800.0 x 600.0
1 | TestPaintingCanvas() constructor: 800.0 x 600.0
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #2 ----------------------------------------------
2 | TestRenderCanvas() constructor: 800.0 x 600.0
2 | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | paintChild RenderBlock at Point(0.0, 0.0)
2 | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(441.0, 117.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(441.0, 117.0)
2 | | | | | | | translate(-441.0, -117.0)
2 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | paintChild RenderParagraph at Point(228.5, 367.0)
2 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | | | | | translate(228.5, 367.0)
2 | | | | | | | translate(-228.5, -367.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #3 ----------------------------------------------
3 | TestRenderCanvas() constructor: 800.0 x 600.0
3 | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | paintChild RenderBlock at Point(0.0, 0.0)
3 | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | paintChild RenderConstrainedBox at Point(557.0, 107.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | paintChild RenderParagraph at Point(565.0, 117.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | translate(565.0, 117.0)
3 | | | | | | | translate(-565.0, -117.0)
3 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | paintChild RenderParagraph at Point(290.5, 367.0)
3 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
3 | | | | | | | translate(290.5, 367.0)
3 | | | | | | | translate(-290.5, -367.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #4 ----------------------------------------------
4 | TestRenderCanvas() constructor: 800.0 x 600.0
4 | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | paintChild RenderBlock at Point(0.0, 0.0)
4 | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | paintChild RenderConstrainedBox at Point(0.0, 0.0)
4 | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
4 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | paintChild RenderConstrainedBox at Point(433.0, 107.0)
4 | | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | paintChild RenderParagraph at Point(441.0, 117.0)
4 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | translate(441.0, 117.0)
4 | | | | | | | translate(-441.0, -117.0)
4 | | paintChild RenderConstrainedBox at Point(0.0, 250.0)
4 | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | paintChild RenderDecoratedBox at Point(0.0, 250.0)
4 | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | paintChild RenderConstrainedBox at Point(8.0, 258.0)
4 | | | | | TestRenderCanvas() constructor: 800.0 x 600.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 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | paintChild RenderParagraph at Point(228.5, 367.0)
4 | | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
4 | | | | | | | translate(228.5, 367.0)
4 | | | | | | | translate(-228.5, -367.0)
------------------------------------------------------------------------