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