blob: f323470ff63dd33fdf288e00418c1af15830c29c [file] [log] [blame]
fmalita28d5b722016-09-12 17:06:47 -07001/*
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 SkSVGHiddenContainer_DEFINED
9#define SkSVGHiddenContainer_DEFINED
10
Mike Kleinc0bd9f92019-04-23 12:05:21 -050011#include "experimental/svg/model/SkSVGContainer.h"
fmalita28d5b722016-09-12 17:06:47 -070012
13class SkSVGHiddenContainer : public SkSVGContainer {
fmalita28d5b722016-09-12 17:06:47 -070014protected:
15 explicit SkSVGHiddenContainer(SkSVGTag t) : INHERITED(t) {}
16
17 void onRender(const SkSVGRenderContext&) const final {}
18
19private:
John Stiles7571f9e2020-09-02 22:42:33 -040020 using INHERITED = SkSVGContainer;
fmalita28d5b722016-09-12 17:06:47 -070021};
22
23#endif // SkSVGHiddenContainer_DEFINED