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 "SkSVGLinearGradient.h" | 9 #include "SkSVGLinearGradient.h" |
11 #include "SkSVGParser.h" | 10 #include "SkSVGParser.h" |
(...skipping 23 matching lines...) Expand all Loading... |
35 points.append(f_y1); | 34 points.append(f_y1); |
36 points.appendUnichar(','); | 35 points.appendUnichar(','); |
37 points.append(f_x2); | 36 points.append(f_x2); |
38 points.appendUnichar(','); | 37 points.appendUnichar(','); |
39 points.append(f_y2); | 38 points.append(f_y2); |
40 points.appendUnichar(']'); | 39 points.appendUnichar(']'); |
41 parser._addAttribute("points", points.c_str()); | 40 parser._addAttribute("points", points.c_str()); |
42 INHERITED::translate(parser, defState); | 41 INHERITED::translate(parser, defState); |
43 parser._endElement(); | 42 parser._endElement(); |
44 } | 43 } |
OLD | NEW |