| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2009 The Android Open Source Project | 2 * Copyright 2009 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 "SkCubicClipper.h" | 9 #include "SkCubicClipper.h" |
| 11 #include "SkGeometry.h" | 10 #include "SkGeometry.h" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 dst[2] = tmp[2]; | 144 dst[2] = tmp[2]; |
| 146 dst[3] = tmp[3]; | 145 dst[3] = tmp[3]; |
| 147 } | 146 } |
| 148 | 147 |
| 149 if (reverse) { | 148 if (reverse) { |
| 150 SkTSwap<SkPoint>(dst[0], dst[3]); | 149 SkTSwap<SkPoint>(dst[0], dst[3]); |
| 151 SkTSwap<SkPoint>(dst[1], dst[2]); | 150 SkTSwap<SkPoint>(dst[1], dst[2]); |
| 152 } | 151 } |
| 153 return true; | 152 return true; |
| 154 } | 153 } |
| OLD | NEW |