Lines Matching refs:path
76 // is removed to simplify the path.
256 bool GrAAConvexTessellator::tessellate(const SkMatrix& m, const SkPath& path) {
257 if (!this->extractFromPath(m, path)) {
381 bool GrAAConvexTessellator::extractFromPath(const SkMatrix& m, const SkPath& path) {
382 SkASSERT(path.isConvex());
384 SkRect bounds = path.getBounds();
387 // We could do something smarter here like clip the path based on the bounds of the dst.
395 this->reservePts(5*path.countPoints());
399 fIndices.setReserve(18*path.countPoints() + 6);
401 // Reset the accumulated error for all the future lineTo() calls when iterating over the path.
403 // TODO: is there a faster way to extract the points from the path? Perhaps
406 SkPathEdgeIter iter(path);
441 // Remove any lingering colinear points where the path wraps around
467 // For stroking, we still need to process the degenerate path, so fix it up