aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleAAGeometry.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-11-22 16:36:07 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-29 18:12:35 +0000
commitede860e91c2a0021266907885ea2c9b4be09e121 (patch)
tree65e11fcdab6d13d133fc881f38d3efda85402d92 /samplecode/SampleAAGeometry.cpp
parent3f67914c01f32fe61fd0af5022ebfd4e19d68f0e (diff)
Delete even more unused views code
Bug: skia: Change-Id: I41480aa89dfcd8cb7e016e477cbabe354f35ce8a Reviewed-on: https://skia-review.googlesource.com/75480 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'samplecode/SampleAAGeometry.cpp')
-rw-r--r--samplecode/SampleAAGeometry.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/samplecode/SampleAAGeometry.cpp b/samplecode/SampleAAGeometry.cpp
index 55aebda621..3d5426e637 100644
--- a/samplecode/SampleAAGeometry.cpp
+++ b/samplecode/SampleAAGeometry.cpp
@@ -883,7 +883,6 @@ public:
bool constructPath() {
construct_path(fPath);
- this->inval(nullptr);
return true;
}
@@ -909,7 +908,6 @@ public:
PathUndo* next = fUndo->fNext;
delete fUndo;
fUndo = next;
- this->inval(nullptr);
return true;
}
@@ -932,7 +930,6 @@ public:
bool hideAll() {
fHideAll ^= true;
- this->inval(nullptr);
return true;
}
@@ -991,7 +988,6 @@ public:
matrix.setScale(1.f / 1.5f, 1.f / 1.5f, bounds.centerX(), bounds.centerY());
fPath.transform(matrix);
validatePath();
- this->inval(nullptr);
return true;
}
@@ -1007,7 +1003,6 @@ public:
SkScalar offsetY = (this->height() - bounds.height()) / 2 - bounds.fTop;
fPath.offset(offsetX, offsetY);
validatePath();
- this->inval(nullptr);
return true;
}
@@ -1017,7 +1012,6 @@ public:
matrix.setScale(1.5f, 1.5f, bounds.centerX(), bounds.centerY());
fPath.transform(matrix);
validatePath();
- this->inval(nullptr);
return true;
}
@@ -1038,7 +1032,6 @@ public:
bool showLegend() {
fShowLegend ^= true;
- this->inval(nullptr);
return true;
}
@@ -1670,7 +1663,6 @@ public:
SkIntToScalar(click->fICurr.fY - click->fIPrev.fY));
set_path_pt(fActivePt, pt, &fPath);
validatePath();
- this->inval(nullptr);
return true;
}
case MyClick::kPathType:
@@ -1678,7 +1670,6 @@ public:
fPath.offset(SkIntToScalar(click->fICurr.fX - click->fIPrev.fX),
SkIntToScalar(click->fICurr.fY - click->fIPrev.fY));
validatePath();
- this->inval(nullptr);
return true;
case MyClick::kVerbType: {
fActiveVerb = myClick->verbHit();
@@ -1790,7 +1781,6 @@ public:
break;
}
setControlButtonsPos();
- this->inval(nullptr);
return true;
}