Home
last modified time | relevance | path

Searched refs:srcTol (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp18 static float tolerance_to_wangs_precision(float srcTol) { in tolerance_to_wangs_precision() argument
20 SkASSERT(srcTol >= kMinCurveTol); in tolerance_to_wangs_precision()
25 return 1.f / srcTol; in tolerance_to_wangs_precision()
52 SkScalar srcTol = 0; in scaleToleranceToSrc() local
56 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()