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 "SkSVGEllipse.h" | 9 #include "SkSVGEllipse.h" |
11 #include "SkSVGParser.h" | 10 #include "SkSVGParser.h" |
(...skipping 26 matching lines...) Expand all Loading... |
38 sprintf(scratch, "%g", SkScalarToDouble(left)); | 37 sprintf(scratch, "%g", SkScalarToDouble(left)); |
39 parser._addAttribute("left", scratch); | 38 parser._addAttribute("left", scratch); |
40 sprintf(scratch, "%g", SkScalarToDouble(top)); | 39 sprintf(scratch, "%g", SkScalarToDouble(top)); |
41 parser._addAttribute("top", scratch); | 40 parser._addAttribute("top", scratch); |
42 sprintf(scratch, "%g", SkScalarToDouble(right)); | 41 sprintf(scratch, "%g", SkScalarToDouble(right)); |
43 parser._addAttribute("right", scratch); | 42 parser._addAttribute("right", scratch); |
44 sprintf(scratch, "%g", SkScalarToDouble(bottom)); | 43 sprintf(scratch, "%g", SkScalarToDouble(bottom)); |
45 parser._addAttribute("bottom", scratch); | 44 parser._addAttribute("bottom", scratch); |
46 parser._endElement(); | 45 parser._endElement(); |
47 } | 46 } |
OLD | NEW |