Lines Matching refs:path
89 // Returns the fill path
90 SkPath getFillPath(const SkPath& path, const SkPaint& paint);
104 void initForPath(const SkPath& path, const SkPaint& paint);
116 // Appends path in reverse to result
117 static void appendPathReversed(const PathRecorder& path, PathRecorder* result);
126 void SkPathStroker2::initForPath(const SkPath& path, const SkPaint& paint) {
134 SkPath SkPathStroker2::getFillPath(const SkPath& path, const SkPaint& paint) {
135 initForPath(path, paint);
139 SkPath::Iter it(path, false);
157 SkDebugf("Unhandled path verb %d\n", segment.fVerb);
166 const bool isClosed = path.isLastContourClosed();
173 // Walk inner path in reverse, appending to result
195 // Back at the start of the path: just close the stroked outline
218 // Common path endpoint of the two segments is the midpoint of the miter line.
281 // Connect to the miter midpoint (common path endpoint of the two segments),
304 void SkPathStroker2::appendPathReversed(const PathRecorder& path, PathRecorder* result) {
305 const int numVerbs = path.countVerbs();
306 const int numPoints = path.countPoints();
307 const std::vector<uint8_t>& verbs = path.verbs();
308 const std::vector<SkPoint>& points = path.points();
417 void makePath(SkPath* path) {
418 path->moveTo(fPts[0]);
420 path->lineTo(fPts[i]);
427 SkPath path;
428 this->makePath(&path);
434 canvas->drawPath(path, fStrokePaint);
439 SkPath fillPath = stroker.getFillPath(path, fStrokePaint);
446 canvas->drawPath(path, fSkeletonPaint);
453 canvas->drawPath(path, fMirrorStrokePaint);
456 fStrokePaint.getFillPath(path, &hidden);
460 canvas->drawPath(path, fSkeletonPaint);