Flutter Engine
The Flutter Engine
SkSVGLinearGradient.h
Go to the documentation of this file.
1/*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkSVGLinearGradient_DEFINED
9#define SkSVGLinearGradient_DEFINED
10
13
15public:
18 }
19
24
25protected:
26 bool parseAndSetAttribute(const char*, const char*) override;
27
29 const SkColor4f*, const SkScalar*, int count,
30 SkTileMode, const SkMatrix&) const override;
31private:
33
35};
36
37#endif // SkSVGLinearGradient_DEFINED
int count
Definition: FontMgrTest.cpp:50
#define SK_API
Definition: SkAPI.h:35
#define INHERITED(method,...)
Definition: SkRecorder.cpp:128
SkTileMode
Definition: SkTileMode.h:13
virtual sk_sp< SkShader > onMakeShader(const SkSVGRenderContext &, const SkColor4f *, const SkScalar *, int count, SkTileMode, const SkMatrix &localMatrix) const =0
bool parseAndSetAttribute(const char *, const char *) override
SVG_ATTR(GradientTransform, SkSVGTransformType, SkSVGTransformType(SkMatrix::I())) SVG_ATTR(GradientUnits
static sk_sp< SkSVGLinearGradient > Make()
float SkScalar
Definition: extension.cpp:12