OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 #ifndef SkPathOpBounds_DEFINED | 7 #ifndef SkPathOpBounds_DEFINED |
8 #define SkPathOpBounds_DEFINED | 8 #define SkPathOpBounds_DEFINED |
9 | 9 |
10 #include "SkPathOpsRect.h" | 10 #include "SkPathOpsRect.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 void setQuadBounds(const SkPoint a[3]); | 60 void setQuadBounds(const SkPoint a[3]); |
61 | 61 |
62 void setPointBounds(const SkPoint& pt) { | 62 void setPointBounds(const SkPoint& pt) { |
63 fLeft = fRight = pt.fX; | 63 fLeft = fRight = pt.fX; |
64 fTop = fBottom = pt.fY; | 64 fTop = fBottom = pt.fY; |
65 } | 65 } |
66 | 66 |
67 typedef SkRect INHERITED; | 67 typedef SkRect INHERITED; |
68 }; | 68 }; |
69 | 69 |
70 extern void (SkPathOpsBounds::*SetCurveBounds[])(const SkPoint[]); | 70 extern void (SkPathOpsBounds::* const SetCurveBounds[])(const SkPoint[]); |
71 | 71 |
72 #endif | 72 #endif |
OLD | NEW |