Fluid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Functions | Variables
skia_shadow.h File Reference
#include "geometry.h"
Include dependency graph for skia_shadow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Fluid::Skia::ShadowCircularRRectOp
 
struct  Fluid::Skia::ShadowCircularRRectOp::Geometry
 

Namespaces

namespace  Fluid
 
namespace  Fluid::Skia
 

Macros

#define SK_CHECK_NAN(resultVal)
 

Typedefs

using Fluid::Skia::scalar = float
 

Functions

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

Variables

constexpr int Fluid::Skia::SK_MaxS32FitsInFloat = 2147483520
 
constexpr int Fluid::Skia::SK_MinS32FitsInFloat = -SK_MaxS32FitsInFloat
 
static constexpr auto Fluid::Skia::kAmbientHeightFactor = 1.0f / 128.0f
 
static constexpr auto Fluid::Skia::kAmbientGeomFactor = 64.0f
 
static constexpr auto Fluid::Skia::kMaxAmbientRadius = 300 * kAmbientHeightFactor * kAmbientGeomFactor
 
constexpr auto Fluid::Skia::SK_Scalar1 { 1.0f }
 
constexpr auto Fluid::Skia::SK_ScalarNearlyZero { (SK_Scalar1 / (1 << 12)) }
 

Macro Definition Documentation

◆ SK_CHECK_NAN

#define SK_CHECK_NAN (   resultVal)