skia2/experimental/svg/model/SkSVGHiddenContainer.h
fmalita 28d5b72d86 [SVGDom] Initial linear gradient support
Kind of a big change, to connect several new bits into something useful:

  * ID tracking & lookup
  * new asPaint() node virtual to support shader (and in the future filter) based paint servers
  * <defs>, <linearGradient> and <stop> element support
  * 'href', 'offset', 'stop-color', 'stop-opacity' attribute support
  * IRI/FuncIRI and rgb(...) parsing

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2327233003

Review-Url: https://codereview.chromium.org/2327233003
2016-09-12 17:06:47 -07:00

27 lines
585 B
C++

/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkSVGHiddenContainer_DEFINED
#define SkSVGHiddenContainer_DEFINED
#include "SkSVGContainer.h"
class SkSVGHiddenContainer : public SkSVGContainer {
public:
virtual ~SkSVGHiddenContainer() = default;
protected:
explicit SkSVGHiddenContainer(SkSVGTag t) : INHERITED(t) {}
void onRender(const SkSVGRenderContext&) const final {}
private:
typedef SkSVGContainer INHERITED;
};
#endif // SkSVGHiddenContainer_DEFINED