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