Go to the source code of this file.
◆ max_bezier_vertices()
uint32_t max_bezier_vertices |
( |
uint32_t |
chopCount | ) |
|
Definition at line 35 of file GrPathUtils.cpp.
35 {
36 static constexpr uint32_t kMaxChopsPerCurve = 10;
38 return 1 <<
std::min(chopCount, kMaxChopsPerCurve);
39}
static float min(float r, float g, float b)
static const int kMaxPointsPerCurve
◆ tolerance_to_wangs_precision()
static float tolerance_to_wangs_precision |
( |
float |
srcTol | ) |
|
|
static |
Definition at line 25 of file GrPathUtils.cpp.
25 {
26
28
29
30
31
32 return 1.f / srcTol;
33}
static const SkScalar kMinCurveTol
◆ kMinCurveTol