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 SkSVGImage_DEFINED | 9 #ifndef SkSVGImage_DEFINED |
11 #define SkSVGImage_DEFINED | 10 #define SkSVGImage_DEFINED |
12 | 11 |
13 #include "SkSVGElements.h" | 12 #include "SkSVGElements.h" |
14 | 13 |
15 class SkSVGImage : public SkSVGElement { | 14 class SkSVGImage : public SkSVGElement { |
16 public: | 15 public: |
17 DECLARE_SVG_INFO(Image); | 16 DECLARE_SVG_INFO(Image); |
18 private: | 17 private: |
19 void translateImage(SkSVGParser& parser); | 18 void translateImage(SkSVGParser& parser); |
20 SkString f_height; | 19 SkString f_height; |
21 SkString f_width; | 20 SkString f_width; |
22 SkString f_x; | 21 SkString f_x; |
23 SkString f_xlink_href; | 22 SkString f_xlink_href; |
24 SkString f_y; | 23 SkString f_y; |
25 typedef SkSVGElement INHERITED; | 24 typedef SkSVGElement INHERITED; |
26 }; | 25 }; |
27 | 26 |
28 #endif // SkSVGImage_DEFINED | 27 #endif // SkSVGImage_DEFINED |
OLD | NEW |