Searched refs:srcTol (Results 1 – 1 of 1) sorted by relevance
18 static float tolerance_to_wangs_precision(float srcTol) { in tolerance_to_wangs_precision() argument20 SkASSERT(srcTol >= kMinCurveTol); in tolerance_to_wangs_precision()25 return 1.f / srcTol; in tolerance_to_wangs_precision()52 SkScalar srcTol = 0; in scaleToleranceToSrc() local56 srcTol = std::max(pathBounds.width(), pathBounds.height()); in scaleToleranceToSrc()58 srcTol = devTol / stretch; in scaleToleranceToSrc()60 if (srcTol < kMinCurveTol) { in scaleToleranceToSrc()61 srcTol = kMinCurveTol; in scaleToleranceToSrc()63 return srcTol; in scaleToleranceToSrc()