#include <SkSGGradient.h>
Definition at line 80 of file SkSGGradient.h.
◆ Make()
◆ onMakeShader()
Implements sksg::Gradient.
Definition at line 49 of file SkSGGradient.cpp.
50 {
52
53 return (fStartRadius <= 0 && fStartCenter == fEndCenter)
55 colors.data(),
nullptr, positions.data(),
58 fEndCenter, fEndRadius,
61}
constexpr int SkToInt(S x)
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)
PODArray< SkColor > colors
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
std::shared_ptr< const fml::Mapping > data
The documentation for this class was generated from the following files: