Lines Matching refs:one
282 static void scaleMatrix(const SkPath& one, const SkPath& two, SkMatrix& scale) {
283 SkRect larger = one.getBounds();
337 static int pathsDrawTheSame(const SkPath& one, const SkPath& two, SkBitmap& bits, SkPath& scaledOne,
340 scaleMatrix(one, two, scale);
341 one.transform(scale, &scaledOne);
346 bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths) {
350 const SkRect& bounds1 = one.getBounds();
370 canvas.drawPath(one, paint);
393 static int comparePaths(skiatest::Reporter* reporter, const char* filename, const SkPath& one,
397 (void) pathsDrawTheSame(one, two, bitmap, scaledOne, scaledTwo, errors2x2);
410 static void showPathOpPath(const char* testName, const SkPath& one, const SkPath& two,
436 static int comparePaths(skiatest::Reporter* reporter, const char* testName, const SkPath& one,
443 showPathOpPath(testName, one, two, a, b, scaledOne, scaledTwo, shapeOp, scale);
452 showPathOpPath(testName, one, two, a, b, scaledOne, scaledTwo, shapeOp, scale);
457 showPathOpPath(testName, one, two, a, b, scaledOne, scaledTwo, shapeOp, scale);