OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #ifndef SkSVGPolygon_DEFINED | 9 #ifndef SkSVGPolygon_DEFINED |
11 #define SkSVGPolygon_DEFINED | 10 #define SkSVGPolygon_DEFINED |
12 | 11 |
13 #include "SkSVGPolyline.h" | 12 #include "SkSVGPolyline.h" |
14 | 13 |
15 class SkSVGPolygon : public SkSVGPolyline { | 14 class SkSVGPolygon : public SkSVGPolyline { |
16 DECLARE_SVG_INFO(Polygon); | 15 DECLARE_SVG_INFO(Polygon); |
17 virtual void addAttribute(SkSVGParser& , int attrIndex, | 16 virtual void addAttribute(SkSVGParser& , int attrIndex, |
18 const char* attrValue, size_t attrLength); | 17 const char* attrValue, size_t attrLength); |
19 private: | 18 private: |
20 typedef SkSVGPolyline INHERITED; | 19 typedef SkSVGPolyline INHERITED; |
21 }; | 20 }; |
22 | 21 |
23 #endif // SkSVGPolygon_DEFINED | 22 #endif // SkSVGPolygon_DEFINED |
OLD | NEW |