Home | History | Annotate | Download | only in unit

Lines Matching defs:child

28     auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90));
30 child->previous = root.get();
35 auto intersectWithChild = child->serializeIntersectedClip(allocator,
38 EXPECT_EQ(Rect(50, 50, 75, 75), intersectWithChild->rect) << "Expect intersect with child";
43 auto intersectWithRoot = child->serializeIntersectedClip(allocator,
57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90));
58 child->previous = root.get();
59 child->applyClip(&rect, Matrix4::identity());
61 EXPECT_TRUE(child->getClipArea().isSimple());
62 EXPECT_EQ(Rect(50, 50, 75, 75), child->getRenderTargetClip());
67 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90));
68 child->previous = root.get();
69 child->applyClip(&rect, Matrix4::identity());
71 EXPECT_TRUE(child->getClipArea().isSimple());
72 EXPECT_EQ(Rect(10, 10, 75, 75), child->getRenderTargetClip());