Lines Matching refs:path

49     // This path renderer only accepts simple fill paths or stroke paths that are either hairline
152 void addPath(const SkPath& path, SkScalar srcSpaceTol) {
155 SkPath::Iter iter(path, false);
185 static bool PathHasMultipleSubpaths(const SkPath& path) {
188 SkPath::Iter iter(path, false);
279 // other fill rules we're drawing triangle fans around the start of the current (sub)path.
396 const SkPath& path,
404 return Helper::FactoryHelper<DefaultPathOp>(context, std::move(paint), path, tolerance,
419 DefaultPathOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const SkPath& path,
429 fPaths.emplace_back(PathData{path, tolerance});
552 for (const auto& path : fPaths) {
553 string.appendf("Tolerance: %.2f\n", path.fTolerance);
595 const SkPath& path = GrTest::TestPath(random);
598 SkRect bounds = path.getBounds();
608 return DefaultPathOp::Make(context, std::move(paint), path, srcSpaceTol, coverage, viewMatrix,
629 SkPath path;
630 shape.asPath(&path);
665 switch (path.getFillType()) {
704 SkDEBUGFAIL("Unknown path fFill!");
711 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, path.getBounds());
714 GetPathDevBounds(path, sdc->asRenderTargetProxy()->backingStoreDimensions(),
734 bounds = path.getBounds();
749 op = DefaultPathOp::Make(context, std::move(stencilPaint), path, srcSpaceTol,
754 op = DefaultPathOp::Make(context, std::move(paint), path, srcSpaceTol, newCoverage,
785 // This can draw any path with any simple fill style.
789 // This is the fallback renderer for when a path is too complicated for the others to draw.