| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 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 #include "SkParse.h" | 7 #include "SkParse.h" |
| 9 #include "SkParsePath.h" | 8 #include "SkParsePath.h" |
| 10 | 9 |
| 11 static inline bool is_between(int c, int min, int max) { | 10 static inline bool is_between(int c, int min, int max) { |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 case SkPath::kClose_Verb: | 260 case SkPath::kClose_Verb: |
| 262 stream.write("Z", 1); | 261 stream.write("Z", 1); |
| 263 break; | 262 break; |
| 264 case SkPath::kDone_Verb: | 263 case SkPath::kDone_Verb: |
| 265 str->resize(stream.getOffset()); | 264 str->resize(stream.getOffset()); |
| 266 stream.copyTo(str->writable_str()); | 265 stream.copyTo(str->writable_str()); |
| 267 return; | 266 return; |
| 268 } | 267 } |
| 269 } | 268 } |
| 270 } | 269 } |
| OLD | NEW |