|
| template<typename T > |
| static constexpr const T & | SkTPin (const T &x, const T &lo, const T &hi) |
| |
| constexpr auto | sk_double_round (double x) |
| |
| constexpr auto | sk_float_round (double x) |
| |
| template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true> |
| static constexpr bool | SkIsNaN (T x) |
| |
| static constexpr int | sk_float_saturate2int (float x) |
| |
| constexpr auto | SkScalarRoundToInt (double x) |
| |
| static float | divide_and_pin (float numer, float denom, float min, float max) |
| |
| scalar | AmbientBlurRadius (scalar height) |
| |
| scalar | AmbientRecipAlpha (scalar height) |
| |
| scalar | SpotBlurRadius (scalar occluderZ, scalar lightZ, scalar lightRadius) |
| |
| void | GetSpotParams (scalar occluderZ, scalar lightX, scalar lightY, scalar lightZ, scalar lightRadius, scalar *blurRadius, scalar *scale, QVector2D *translate) |
| |
| void | GetDirectionalParams (scalar occluderZ, scalar lightX, scalar lightY, scalar lightZ, scalar lightRadius, scalar *blurRadius, scalar *scale, QVector2D *translate) |
| |