| 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 #ifndef SkCubicClipper_DEFINED | 9 #ifndef SkCubicClipper_DEFINED |
| 11 #define SkCubicClipper_DEFINED | 10 #define SkCubicClipper_DEFINED |
| (...skipping 14 matching lines...) Expand all Loading... |
| 26 void setClip(const SkIRect& clip); | 25 void setClip(const SkIRect& clip); |
| 27 | 26 |
| 28 bool clipCubic(const SkPoint src[4], SkPoint dst[4]); | 27 bool clipCubic(const SkPoint src[4], SkPoint dst[4]); |
| 29 | 28 |
| 30 static bool ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t); | 29 static bool ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t); |
| 31 private: | 30 private: |
| 32 SkRect fClip; | 31 SkRect fClip; |
| 33 }; | 32 }; |
| 34 | 33 |
| 35 #endif // SkCubicClipper_DEFINED | 34 #endif // SkCubicClipper_DEFINED |
| OLD | NEW |