static int countNestedRects(const SkPath& path, SkRect rects[2]) { if (path.isNestedFillRects(rects)) { return 2; } return path.isRect(&rects[0]); }