Searched refs:max_component (Results 1 – 2 of 2) sorted by relevance
295 static inline SkScalar max_component(const Sk2s& value) { in max_component() function313 SkScalar diff = max_component(Sk2s::Max(abs(p1 - p13), abs(p2 - p23))); in compute_cubic_segs()
169 static SkScalar max_component(const SkPoint3& p) { in max_component() function185 return SkPackARGB32(SkClampMax(SkScalarRoundToInt(max_component(color)), 255), in light()