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 "SkSVGSVG.h" | 10 #include "SkSVGSVG.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 x.appendScalar(box.fRight); | 67 x.appendScalar(box.fRight); |
68 parser._addAttributeLen("scaleX", x.c_str(), x.size()); | 68 parser._addAttributeLen("scaleX", x.c_str(), x.size()); |
69 } | 69 } |
70 if (box.fBottom != SK_Scalar1) { | 70 if (box.fBottom != SK_Scalar1) { |
71 SkString y; | 71 SkString y; |
72 y.appendScalar(box.fBottom); | 72 y.appendScalar(box.fBottom); |
73 parser._addAttributeLen("scaleY", y.c_str(), y.size()); | 73 parser._addAttributeLen("scaleY", y.c_str(), y.size()); |
74 } | 74 } |
75 parser._endElement(); | 75 parser._endElement(); |
76 } | 76 } |
OLD | NEW |