Lines Matching refs:path
15 static bool one_contour(const SkPath& path) {
17 int verbCount = path.countVerbs();
19 (void) path.getVerbs(verbs, verbCount);
28 void SkOpBuilder::ReversePath(SkPath* path) {
31 SkAssertResult(path->getLastPt(&lastPt));
33 temp.reversePathTo(*path);
35 *path = temp;
38 bool SkOpBuilder::FixWinding(SkPath* path) {
39 SkPathFillType fillType = path->getFillType();
45 if (one_contour(*path)) {
46 SkPathFirstDirection dir = SkPathPriv::ComputeFirstDirection(*path);
49 ReversePath(path);
51 path->setFillType(fillType);
59 SkOpEdgeBuilder builder(*path, &contourHead, &globalState);
90 path->setFillType(fillType);
106 *path = *woundPath.nativePath();
107 path->setFillType(fillType);
111 void SkOpBuilder::add(const SkPath& path, SkPathOp op) {
116 fPathRefs.push_back() = path;
153 // If the path is not convex but its bounds do not intersect the others, simplify is enough.