Lines Matching refs:path
47 * Create a new path with the specified segments.
104 /** Constructs a copy of an existing path.
105 Copy constructor makes two paths identical by value. Internally, path and
113 @param path SkPath to copy by value
118 SkPath(const SkPath& path);
126 /** Constructs a copy of an existing path.
135 @param path verb array, SkPoint array, weights, and SkPath::FillType to copy
140 SkPath& operator=(const SkPath& path);
226 /** Returns true if the path is convex. If necessary, it will first compute the convexity.
232 /** Returns true if this path is recognized as an oval or circle.
245 /** Returns true if path is representable as SkRRect.
246 Returns false if path is representable as oval, circle, or SkRect.
286 @return true if the path contains no SkPath::Verb array
314 /** Returns true if the path is volatile; it will not be altered or discarded
330 to inform SkBaseDevice that the path need not be cached.
445 /** Returns the number of verbs in the path. Up to max verbs are copied. The
450 @return the actual number of verbs in the path
466 swap() usage has largely been replaced by operator=(const SkPath& path).
1050 /** Adds a new contour to the path, defined by the rect, and wound in the
1051 specified direction. The verbs added to the path will be:
1064 path.addRect(...)
1066 path.lineTo(...)
1086 /** Adds oval to path, appending kMove_Verb, four kConic_Verb, and kClose_Verb.
1212 If count is zero, append kMove_Verb to path.
1228 If list is empty, append kMove_Verb to path.
1384 /** Sets the last point on the path. If SkPoint array is empty, append kMove_Verb to
1447 path. If forceClose is true, SkPath::Iter will add kLine_Verb and kClose_Verb after each
1448 open contour. path is not altered.
1450 @param path SkPath to iterate
1452 @return SkPath::Iter of path
1456 Iter(const SkPath& path, bool forceClose);
1459 path. If forceClose is true, SkPath::Iter will add kLine_Verb and kClose_Verb after each
1460 open contour. path is not altered.
1462 @param path SkPath to iterate
1467 void setPath(const SkPath& path, bool forceClose);
1527 Iterates through a raw range of path verbs, points, and conics. All values are returned
1613 /** Sets RawIter to return elements of verb array, SkPoint array, and conic weight in path.
1615 @param path SkPath to iterate
1616 @return RawIter of path
1618 RawIter(const SkPath& path) {
1619 setPath(path);
1623 path.
1625 @param path SkPath to iterate
1754 Each time the path is modified, a different generation identifier will be returned.
1802 /* Append, in reverse order, the first contour of path, ignoring path's
1811 // SkPath path; path.lineTo(...); <--- need a leading moveTo(0, 0)
1812 // SkPath path; ... path.close(); path.lineTo(...) <-- need a moveTo(previous moveTo)
1830 /** Returns if the path can return a bound at no cost (true) or will have to
1858 @return path's convexity type (convex or concave)
1869 /** Stores a convexity type for this path. This is what will be returned if
1881 * this path should be discarded after calling shrinkToFit().