Lines Matching refs:two
208 static void dump_op(const SkPath& one, const SkPath& two, SkPathOp op) {
222 fprintf(file, " path.setFillType((SkPath::FillType) %d);\n", two.getFillType());
223 dump_path(file, two, false, true);
248 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result,
256 dump_op(one, two, op);
262 SkPathOpsDebug::ShowPath(one, two, op, debugName);
265 op = gOpInverse[op][one.isInverseFillType()][two.isInverseFillType()];
266 SkPath::FillType fillType = gOutInverse[op][one.isInverseFillType()][two.isInverseFillType()]
269 const SkPath* subtrahend = &two;
271 minuend = &two;
351 static void debug_scale_matrix(const SkPath& one, const SkPath& two, SkMatrix& scale) {
353 larger.join(two.getBounds());
377 static int debug_paths_draw_the_same(const SkPath& one, const SkPath& two, SkBitmap& bits) {
391 canvas.drawPath(two, paint);
413 bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) {
415 if (!OpDebug(one, two, op, result, true SkDEBUGPARAMS(nullptr))) {
418 SkDebugf("two: fill=%d\n", two.getFillType());
419 two.dumpHex();
427 rgnB.setPath(two, openClip);
431 debug_scale_matrix(one, two, scale);
436 scaledB.addPath(two, scale);
437 scaledB.setFillType(two.getFillType());
451 SkDebugf("two: fill=%d\n", two.getFillType());
452 two.dumpHex();
457 return OpDebug(one, two, op, result, true SkDEBUGPARAMS(nullptr));