OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkSVGImage_DEFINED | 10 #ifndef SkSVGImage_DEFINED |
11 #define SkSVGImage_DEFINED | 11 #define SkSVGImage_DEFINED |
12 | 12 |
13 #include "SkSVGElements.h" | 13 #include "SkSVGElements.h" |
14 | 14 |
15 class SkSVGImage : public SkSVGElement { | 15 class SkSVGImage : public SkSVGElement { |
16 public: | 16 public: |
17 DECLARE_SVG_INFO(Image); | 17 DECLARE_SVG_INFO(Image); |
18 private: | 18 private: |
19 void translateImage(SkSVGParser& parser); | 19 void translateImage(SkSVGParser& parser); |
20 SkString f_height; | 20 SkString f_height; |
21 SkString f_width; | 21 SkString f_width; |
22 SkString f_x; | 22 SkString f_x; |
23 SkString f_xlink_href; | 23 SkString f_xlink_href; |
24 SkString f_y; | 24 SkString f_y; |
25 typedef SkSVGElement INHERITED; | 25 typedef SkSVGElement INHERITED; |
26 }; | 26 }; |
27 | 27 |
28 #endif // SkSVGImage_DEFINED | 28 #endif // SkSVGImage_DEFINED |
OLD | NEW |