Lines Matching defs:two
2927 void SkPathOpsDebug::DumpOp(const SkPath& one, const SkPath& two, SkPathOp op,
2930 DumpOp(file, one, two, op, testName);
2933 void SkPathOpsDebug::DumpOp(FILE* file, const SkPath& one, const SkPath& two, SkPathOp op,
2944 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", two.getFillType());
2945 dump_path(file, two, false, true);
2977 static void debug_scale_matrix(const SkPath& one, const SkPath* two, SkMatrix& scale) {
2979 if (two) {
2980 larger.join(two->getBounds());
3005 static int debug_paths_draw_the_same(const SkPath& one, const SkPath& two, SkBitmap& bits) {
3019 canvas.drawPath(two, paint);
3039 void SkPathOpsDebug::ReportOpFail(const SkPath& one, const SkPath& two, SkPathOp op) {
3041 DumpOp(stderr, one, two, op, "opTest");
3045 void SkPathOpsDebug::VerifyOp(const SkPath& one, const SkPath& two, SkPathOp op,
3051 rgnB.setPath(two, openClip);
3055 debug_scale_matrix(one, &two, scale);
3060 scaledB.addPath(two, scale);
3061 scaledB.setFillType(two.getFillType());
3074 DumpOp(stderr, one, two, op, "opTest");