Home
last modified time | relevance | path

Searched defs:LinearInterpolater (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/ports/
DSkTypeface_mac_ct.cpp282 template <typename S, typename D, typename C> struct LinearInterpolater { struct
287 constexpr LinearInterpolater(Mapping const mapping[], int mappingCount) in LinearInterpolater() function
290 static D map(S value, S src_min, S src_max, D dst_min, D dst_max) { in map()
296 D map(S val) const { in map()
332 using Interpolator = LinearInterpolater<int, CGFloat, CGFloatIdentity>; in SkCTFontCTWeightForCSSWeight() argument
/external/skqp/src/ports/
DSkFontHost_mac.cpp489 template <typename S, typename D, typename C> struct LinearInterpolater { struct
494 constexpr LinearInterpolater(Mapping const mapping[], int mappingCount) in LinearInterpolater() function
497 static D map(S value, S src_min, S src_max, D dst_min, D dst_max) { in map()
503 D map(S val) const { in map()
522 Mapping const * fMapping;
523 int fMappingCount;