Lines Matching refs:child
297 bool checkContainerChildren(Contour* parent, Contour* child) {
298 for (auto grandChild : child->fChildren) {
299 if (!checkContainerChildren(child, grandChild)) {
304 if (!containerContains(*parent, *child)) {
311 bool markReverse(Contour* parent, Contour* child) {
313 for (auto grandChild : child->fChildren) {
314 reversed |= markReverse(grandChild->fContained ? child : parent, grandChild);
316 if (parent && parent->fDirection == child->fDirection) {
317 child->fReverse = true;
318 child->fDirection = (Contour::Direction) -(int) child->fDirection;
401 // if sorted has no grandchildren, no child has to fix its children's winding