Go to the source code of this file.
◆ GradMaker
◆ MakeLinear()
Definition at line 50 of file gradient_dirty_laundry.cpp.
50 {
52}
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
◆ MakeRadial()
Definition at line 54 of file gradient_dirty_laundry.cpp.
54 {
57}
#define SkScalarAve(a, b)
static sk_sp< SkShader > MakeRadial(const SkPoint ¢er, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
◆ MakeSweep()
Definition at line 59 of file gradient_dirty_laundry.cpp.
59 {
62}
static sk_sp< SkShader > MakeSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, SkScalar startAngle, SkScalar endAngle, uint32_t flags, const SkMatrix *localMatrix)
◆ gColors
Initial value:= {
}
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorBLACK
constexpr SkColor SK_ColorGREEN
constexpr SkColor SK_ColorWHITE
Definition at line 31 of file gradient_dirty_laundry.cpp.
◆ gGradData
◆ gGradMakers
Initial value:= {
}
static sk_sp< SkShader > MakeRadial()
static sk_sp< SkShader > MakeLinear()
static sk_sp< SkShader > MakeSweep(const SkPoint pts[2], const GradData &data, SkTileMode)
Definition at line 67 of file gradient_dirty_laundry.cpp.