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 SkSVGMask_DEFINED | 9 #ifndef SkSVGMask_DEFINED |
11 #define SkSVGMask_DEFINED | 10 #define SkSVGMask_DEFINED |
12 | 11 |
13 #include "SkSVGGroup.h" | 12 #include "SkSVGGroup.h" |
14 | 13 |
15 class SkSVGMask : public SkSVGGroup { | 14 class SkSVGMask : public SkSVGGroup { |
16 DECLARE_SVG_INFO(Mask); | 15 DECLARE_SVG_INFO(Mask); |
17 virtual bool isDef(); | 16 virtual bool isDef(); |
18 virtual bool isNotDef(); | 17 virtual bool isNotDef(); |
19 protected: | 18 protected: |
20 SkString f_height; | 19 SkString f_height; |
21 SkString f_maskUnits; | 20 SkString f_maskUnits; |
22 SkString f_width; | 21 SkString f_width; |
23 SkString f_x; | 22 SkString f_x; |
24 SkString f_y; | 23 SkString f_y; |
25 private: | 24 private: |
26 typedef SkSVGGroup INHERITED; | 25 typedef SkSVGGroup INHERITED; |
27 }; | 26 }; |
28 | 27 |
29 #endif // SkSVGMask_DEFINED | 28 #endif // SkSVGMask_DEFINED |
OLD | NEW |