Lines Matching refs:path
45 /** Called with the current distance along the path, with the current matrix
63 SkPath1DPathEffectImpl(const SkPath& path, SkScalar advance, SkScalar phase,
64 SkPath1DPathEffect::Style style) : fPath(path) {
65 SkASSERT(advance > 0 && !path.isEmpty());
67 // Make the path thread-safe.
72 // offset along the path (to match the interpretation in PostScript)
109 SkPath path;
110 buffer.readPath(&path);
113 return buffer.isValid() ? SkPath1DPathEffect::Make(path, advance, phase, style) : nullptr;
162 Need differentially more subdivisions when the follow-path is curvy. Not sure how to
238 sk_sp<SkPathEffect> SkPath1DPathEffect::Make(const SkPath& path, SkScalar advance, SkScalar phase,
240 if (advance <= 0 || !SkScalarIsFinite(advance) || !SkScalarIsFinite(phase) || path.isEmpty()) {
243 return sk_sp<SkPathEffect>(new SkPath1DPathEffectImpl(path, advance, phase, style));