Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkSVGStop.cpp
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
12
13SkSVGStop::SkSVGStop() : INHERITED(SkSVGTag::kStop) {}
14
15bool SkSVGStop::parseAndSetAttribute(const char* n, const char* v) {
17 this->setOffset(SkSVGAttributeParser::parse<SkSVGLength>("offset", n, v));
18}
#define INHERITED(method,...)
SkSVGTag
Definition SkSVGNode.h:23
virtual bool parseAndSetAttribute(const char *name, const char *value)
Definition SkSVGNode.cpp:90
bool parseAndSetAttribute(const char *, const char *) override
Definition SkSVGStop.cpp:15