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