Lines Matching refs:child
177 SkLayer* child = new TestLayer(gData[i].fColor);
178 child->setSize(gData[i].fWidth, gData[i].fHeight);
179 child->setPosition(gData[i].fPosX, gData[i].fPosY);
180 fRootLayer->addChild(child)->unref();
183 SkLayer* child = new TestLayer(0xFFDD8844);
184 child->setSize(120, 80);
185 child->setPosition(fRootLayer->getWidth()/2 - child->getWidth()/2,
186 fRootLayer->getHeight()/2 - child->getHeight()/2);
187 child->setAnchorPoint(SK_ScalarHalf, SK_ScalarHalf);
191 child->setMatrix(m);
193 fLastChild = child;
194 fRootLayer->addChild(child)->unref();