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 #include "SkSVGRect.h" | 10 #include "SkSVGRect.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 void SkSVGRect::translate(SkSVGParser& parser, bool defState) { | 27 void SkSVGRect::translate(SkSVGParser& parser, bool defState) { |
28 parser._startElement("rect"); | 28 parser._startElement("rect"); |
29 INHERITED::translate(parser, defState); | 29 INHERITED::translate(parser, defState); |
30 SVG_ADD_ATTRIBUTE_ALIAS(left, x); | 30 SVG_ADD_ATTRIBUTE_ALIAS(left, x); |
31 SVG_ADD_ATTRIBUTE_ALIAS(top, y); | 31 SVG_ADD_ATTRIBUTE_ALIAS(top, y); |
32 SVG_ADD_ATTRIBUTE(width); | 32 SVG_ADD_ATTRIBUTE(width); |
33 SVG_ADD_ATTRIBUTE(height); | 33 SVG_ADD_ATTRIBUTE(height); |
34 parser._endElement(); | 34 parser._endElement(); |
35 } | 35 } |
OLD | NEW |