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