aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleDash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleDash.cpp')
-rw-r--r--samplecode/SampleDash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleDash.cpp b/samplecode/SampleDash.cpp
index fc0d678de9..2c16e54ada 100644
--- a/samplecode/SampleDash.cpp
+++ b/samplecode/SampleDash.cpp
@@ -40,7 +40,7 @@ public:
DashView() {
this->setBGColor(0xFFDDDDDD);
}
-
+
protected:
// overrides from SkEventSink
virtual bool onQuery(SkEvent* evt) {
@@ -71,7 +71,7 @@ protected:
for (size_t j = 0; j < len; j++) {
interval[j] = SkIntToScalar(gStr[i][j] - '0');
}
-
+
SkDashPathEffect dash(interval, len, 0);
paint.setPathEffect(&dash);
canvas->drawLine(x0, y0, x1, y0, paint);