Lines Matching defs:path

544     ShowOnePath(a, "path", true);
546 show_op(shapeOp, "path", "pathB");
2841 static void showPathContours(const SkPath& path, const char* pathName) {
2842 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) {
2886 void SkPathOpsDebug::ShowOnePath(const SkPath& path, const char* name, bool includeDeclaration) {
2889 int rectCount = path.isRectContours() ? path.rectContours(nullptr, nullptr) : 0;
2895 path.rectContours(rects.begin(), directions.begin());
2898 SkDebugf("path.addRect(%1.9g, %1.9g, %1.9g, %1.9g, %s);\n", rect.fLeft, rect.fTop,
2905 SkPathFillType fillType = path.getFillType();
2911 showPathContours(path, name);
2918 static void dump_path(FILE* file, const SkPath& path, bool force, bool dumpAsHex) {
2920 path.dump(&wStream, force, dumpAsHex);
2939 fprintf(file, " SkPath path;\n");
2940 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", one.getFillType());
2942 fprintf(file, " SkPath path1(path);\n");
2943 fprintf(file, " path.reset();\n");
2944 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", two.getFillType());
2946 fprintf(file, " SkPath path2(path);\n");
2952 void SkPathOpsDebug::DumpSimplify(const SkPath& path, const char* testName) {
2954 DumpSimplify(file, path, testName);
2957 void SkPathOpsDebug::DumpSimplify(FILE* file, const SkPath& path, const char* testName) {
2962 fprintf(file, " SkPath path;\n");
2963 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", path.getFillType());
2964 dump_path(file, path, false, true);
2965 fprintf(file, " testSimplify(reporter, path, filename);\n");
3079 void SkPathOpsDebug::ReportSimplifyFail(const SkPath& path) {
3081 DumpSimplify(stderr, path, "simplifyTest");
3085 void SkPathOpsDebug::VerifySimplify(const SkPath& path, const SkPath& result) {
3089 rgnA.setPath(path, openClip);
3092 debug_scale_matrix(path, nullptr, scale);
3095 scaledA.addPath(path, scale);
3096 scaledA.setFillType(path.getFillType());
3107 DumpSimplify(stderr, path, "simplifyTest");
3114 // global path dumps for msvs Visual Studio 17 to use from Immediate Window
3115 void Dump(const SkPath& path) {
3116 path.dump();
3119 void DumpHex(const SkPath& path) {
3120 path.dumpHex();