19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/*
39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * Copyright 2006 The Android Open Source Project
49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall *
59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * Use of this source code is governed by a BSD-style license that can be
69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * found in the LICENSE file.
79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall */
89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef SkSVGPolygon_DEFINED
119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SkSVGPolygon_DEFINED
129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SkSVGPolyline.h"
149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallclass SkSVGPolygon : public SkSVGPolyline {
169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    DECLARE_SVG_INFO(Polygon);
179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    virtual void addAttribute(SkSVGParser& , int attrIndex,
189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall        const char* attrValue, size_t attrLength);
199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallprivate:
209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    typedef SkSVGPolyline INHERITED;
219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall};
229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif // SkSVGPolygon_DEFINED
249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall