Searched refs:LinearInterpolater (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/ports/ |
D | SkTypeface_mac_ct.cpp | 282 template <typename S, typename D, typename C> struct LinearInterpolater { struct 287 constexpr LinearInterpolater(Mapping const mapping[], int mappingCount) in LinearInterpolater() argument 332 using Interpolator = LinearInterpolater<int, CGFloat, CGFloatIdentity>; in SkCTFontCTWeightForCSSWeight() argument 358 using Interpolator = LinearInterpolater<CGFloat, int, RoundCGFloatToInt>; in ct_weight_to_fontstyle() 388 using Interpolator = LinearInterpolater<int, CGFloat, CGFloatIdentity>; in SkCTFontCTWidthForCSSWidth() 402 using Interpolator = LinearInterpolater<CGFloat, int, RoundCGFloatToInt>; in ct_width_to_fontstyle()
|
/external/skqp/src/ports/ |
D | SkFontHost_mac.cpp | 489 template <typename S, typename D, typename C> struct LinearInterpolater { struct 494 constexpr LinearInterpolater(Mapping const mapping[], int mappingCount) in LinearInterpolater() argument 589 using Interpolator = LinearInterpolater<int, CGFloat, CGFloatIdentity>; 616 using Interpolator = LinearInterpolater<CGFloat, int, RoundCGFloatToInt>; in ct_weight_to_fontstyle() 659 using Interpolator = LinearInterpolater<int, CGFloat, CGFloatIdentity>; in fontstyle_to_ct_width() 673 using Interpolator = LinearInterpolater<CGFloat, int, RoundCGFloatToInt>; in ct_width_to_fontstyle()
|