aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/svg/parser/SkSVGPolygon.h
blob: b2848d064b2016562dcc0e973246fd60f87bd89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

/*
 * Copyright 2006 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SkSVGPolygon_DEFINED
#define SkSVGPolygon_DEFINED

#include "SkSVGPolyline.h"

class SkSVGPolygon : public SkSVGPolyline {
    DECLARE_SVG_INFO(Polygon);
    virtual void addAttribute(SkSVGParser& , int attrIndex,
        const char* attrValue, size_t attrLength);
private:
    typedef SkSVGPolyline INHERITED;
};

#endif // SkSVGPolygon_DEFINED