Searched defs:GrStrokeTolerances (Results 1 – 1 of 1) sorted by relevance
55 struct GrStrokeTolerances { struct60 constexpr static float CalcParametricPrecision(float matrixMaxScale) { in CalcParametricPrecision()66 static float CalcNumRadialSegmentsPerRadian(float parametricPrecision, in CalcNumRadialSegmentsPerRadian()70 template<int N> static grvx::vec<N> ApproxNumRadialSegmentsPerRadian( in ApproxNumRadialSegmentsPerRadian()79 static float GetLocalStrokeWidth(const float matrixMinMaxScales[2], float strokeWidth) { in GetLocalStrokeWidth()103 static GrStrokeTolerances Make(const float matrixMinMaxScales[2], float strokeWidth) { in Make() argument107 static GrStrokeTolerances MakeNonHairline(float matrixMaxScale, float strokeWidth) { in MakeNonHairline() argument128 // this changes, we will need to call GrStrokeTolerances::GetLocalStrokeWidth() for each in fetchRadialSegmentsPerRadian() argument