}
void SkTouchGesture::touchBegin(void* owner, float x, float y) {
-// GrPrintf("--- %d touchBegin %p %g %g\n", fTouches.count(), owner, x, y);
+// SkDebugf("--- %d touchBegin %p %g %g\n", fTouches.count(), owner, x, y);
int index = this->findRec(owner);
if (index >= 0) {
}
void SkTouchGesture::touchMoved(void* owner, float x, float y) {
-// GrPrintf("--- %d touchMoved %p %g %g\n", fTouches.count(), owner, x, y);
+// SkDebugf("--- %d touchMoved %p %g %g\n", fTouches.count(), owner, x, y);
if (kEmpty_State == fState) {
return;
// not sure how valuable this is
if (fTouches.count() == 2) {
if (close_enough_for_jitter(rec.fLastX, rec.fLastY, x, y)) {
-// GrPrintf("--- drop touchMove, withing jitter tolerance %g %g\n", rec.fLastX - x, rec.fLastY - y);
+// SkDebugf("--- drop touchMove, withing jitter tolerance %g %g\n", rec.fLastX - x, rec.fLastY - y);
return;
}
}
}
void SkTouchGesture::touchEnd(void* owner) {
-// GrPrintf("--- %d touchEnd %p\n", fTouches.count(), owner);
+// SkDebugf("--- %d touchEnd %p\n", fTouches.count(), owner);
int index = this->findRec(owner);
if (index < 0) {