Flutter Engine
The Flutter Engine
SkSVGStop.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 SkSVGStop_DEFINED
9#define SkSVGStop_DEFINED
10
13
15
17public:
18 static constexpr SkSVGTag tag = SkSVGTag::kStop;
19
21 return sk_sp<SkSVGStop>(new SkSVGStop());
22 }
23
25
26protected:
27 bool parseAndSetAttribute(const char*, const char*) override;
28
29private:
30 SkSVGStop();
31
33};
34
35#endif // SkSVGStop_DEFINED
#define SK_API
Definition: SkAPI.h:35
#define INHERITED(method,...)
Definition: SkRecorder.cpp:128
SkSVGTag
Definition: SkSVGNode.h:23
#define SVG_ATTR(attr_name, attr_type, attr_default)
Definition: SkSVGNode.h:210
virtual bool parseAndSetAttribute(const char *name, const char *value)
Definition: SkSVGNode.cpp:90
static sk_sp< SkSVGStop > Make()
Definition: SkSVGStop.h:20