OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 | 7 |
8 #ifndef SkTracker_DEFINED | 8 #ifndef SkTracker_DEFINED |
9 #define SkTracker_DEFINED | 9 #define SkTracker_DEFINED |
10 | 10 |
| 11 #include <stdio.h> |
| 12 |
11 #include "SkBitmap.h" | 13 #include "SkBitmap.h" |
12 #include "SkPoint.h" | 14 #include "SkPoint.h" |
13 | 15 |
14 // TODO(edisonn): draw plan from point! - list of draw ops of a point, like a tr
ee! | 16 // TODO(edisonn): draw plan from point! - list of draw ops of a point, like a tr
ee! |
15 // TODO(edisonn): Minimal PDF to draw some points - remove everything that it is
not needed, | 17 // TODO(edisonn): Minimal PDF to draw some points - remove everything that it is
not needed, |
16 // save pdf uncompressed | 18 // save pdf uncompressed |
17 | 19 |
18 #define MAX_TRACKING_POINTS 100 | 20 #define MAX_TRACKING_POINTS 100 |
19 | 21 |
20 /** \class SkTracker | 22 /** \class SkTracker |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 int fCntExpectedTouched; | 218 int fCntExpectedTouched; |
217 | 219 |
218 SkIPoint fExpectedUntouched[MAX_TRACKING_POINTS]; | 220 SkIPoint fExpectedUntouched[MAX_TRACKING_POINTS]; |
219 SkColor fBeforeUntouched[MAX_TRACKING_POINTS]; | 221 SkColor fBeforeUntouched[MAX_TRACKING_POINTS]; |
220 int fCntExpectedUntouched; | 222 int fCntExpectedUntouched; |
221 | 223 |
222 int fHits; | 224 int fHits; |
223 }; | 225 }; |
224 | 226 |
225 #endif // SkTracker_DEFINED | 227 #endif // SkTracker_DEFINED |
OLD | NEW |