Searched refs:srcTol (Results 1 – 2 of 2) 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()
34 SkScalar srcTol = 0; in scaleToleranceToSrc() local38 srcTol = SkTMax(pathBounds.width(), pathBounds.height()); in scaleToleranceToSrc()40 srcTol = devTol / stretch; in scaleToleranceToSrc()42 if (srcTol < gMinCurveTol) { in scaleToleranceToSrc()43 srcTol = gMinCurveTol; in scaleToleranceToSrc()45 return srcTol; in scaleToleranceToSrc()