Home | History | Annotate | Download | only in samplecode

Lines Matching full:child

170             SkLayer* child = new TestLayer(gData[i].fColor);
171 child->setSize(gData[i].fWidth, gData[i].fHeight);
172 child->setPosition(gData[i].fPosX, gData[i].fPosY);
173 fRootLayer->addChild(child)->unref();
176 SkLayer* child = new TestLayer(0xFFDD8844);
177 child->setSize(120, 80);
178 child->setPosition(fRootLayer->getWidth()/2 - child->getWidth()/2,
179 fRootLayer->getHeight()/2 - child->getHeight()/2);
180 child->setAnchorPoint(SK_ScalarHalf, SK_ScalarHalf);
184 child->setMatrix(m);
186 fLastChild = child;
187 fRootLayer->addChild(child)->unref();