Lines Matching refs:path
45 * to a point or line, not empty. This is to preserve geometric data for path effects and strokes.
61 // The fill rule that is used by asPath() for shapes that aren't already a path.
68 explicit GrShape(const SkPath& path) { this->setPath(path); }
102 // Returns the path direction extracted from the path during simplification, if the shape's
105 // Returns the start index extracted from the path during simplification, if the shape's
139 SkPath& path() { SkASSERT(this->isPath()); return fPath; }
140 const SkPath& path() const { SkASSERT(this->isPath()); return fPath; }
153 // path, since these functions ared used to describe a new geometry.
174 void setPath(const SkPath& path) {
177 fPath = path;
181 new (&fPath) SkPath(path);
185 fInverted = path.isInverseFillType();
197 // If set, simplifications that would impact a directional stroke or path effect can still
207 // path), even if the final simplification results in a point, line, or empty.
230 // Convert the shape into a path that describes the same geometry.
261 // RRects and rects care about winding for path effects and will set the path winding state