8#ifndef SkLocalMatrixShader_DEFINED
9#define SkLocalMatrixShader_DEFINED
31 template <
typename T,
typename... Args>
32 static std::enable_if_t<std::is_base_of_v<SkShader, T>,
sk_sp<SkShader>>
34 auto t = sk_make_sp<T>(std::forward<Args>(
args)...);
54 return fWrappedShader;
63#ifdef SK_ENABLE_LEGACY_SHADERCONTEXT
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
#define SK_FLATTENABLE_HOOKS(type)
SkShaderBase * as_SB(SkShader *shader)
static sk_sp< GrTextureProxy > wrapped(skiatest::Reporter *reporter, GrRecordingContext *rContext, GrProxyProvider *proxyProvider, SkBackingFit fit)
void flatten(SkWriteBuffer &) const override
bool isOpaque() const override
const SkMatrix & ctm() const
SkCTMShader(sk_sp< SkShader > proxy, const SkMatrix &ctm)
bool appendStages(const SkStageRec &rec, const SkShaders::MatrixRec &) const override
bool isConstant() const override
GradientType asGradient(GradientInfo *info, SkMatrix *localMatrix) const override
sk_sp< SkShader > proxyShader() const
ShaderType type() const override
bool onAsLuminanceColor(SkColor4f *) const override
bool isConstant() const override
const SkMatrix & localMatrix() const
bool appendStages(const SkStageRec &, const SkShaders::MatrixRec &) const override
bool isOpaque() const override
sk_sp< SkShader > makeAsALocalMatrixShader(SkMatrix *localMatrix) const override
SkImage * onIsAImage(SkMatrix *matrix, SkTileMode *mode) const override
SkLocalMatrixShader(sk_sp< SkShader > wrapped, const SkMatrix &localMatrix)
static std::enable_if_t< std::is_base_of_v< SkShader, T >, sk_sp< SkShader > > MakeWrapped(const SkMatrix *localMatrix, Args &&... args)
void flatten(SkWriteBuffer &) const override
GradientType asGradient(GradientInfo *info, SkMatrix *localMatrix) const override
ShaderType type() const override
sk_sp< SkShader > wrappedShader() const
virtual bool isOpaque() const
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
unsigned useCenter Optional< SkMatrix > matrix
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 mode