Index: samplecode/SampleQuadStroker.cpp |
diff --git a/samplecode/SampleQuadStroker.cpp b/samplecode/SampleQuadStroker.cpp |
index 40f01fd1053fe085a45ac39fe50425c6d7b1b9ef..ab65ff6d876127090724022738c67bae528b430a 100644 |
--- a/samplecode/SampleQuadStroker.cpp |
+++ b/samplecode/SampleQuadStroker.cpp |
@@ -393,7 +393,7 @@ protected: |
return; |
} |
SkRect bounds = path.getBounds(); |
- this->setWHZ(SkScalarCeilToInt(bounds.right()), drawText |
+ this->setWHZ(SkScalarCeilToInt(bounds.right()), drawText |
? SkScalarRoundToInt(scale * 3 / 2) : SkScalarRoundToInt(scale), |
SkScalarRoundToInt(950.0f / scale)); |
erase(fMinSurface); |
@@ -474,7 +474,7 @@ protected: |
path.reset(); |
path.setFillType(SkPath::kEvenOdd_FillType); |
path.addCircle(center.fX, center.fY, maxSide + width / 2); |
- SkRect outside = SkRect::MakeXYWH(center.fX - maxSide - width, center.fY - maxSide - width, |
+ SkRect outside = SkRect::MakeXYWH(center.fX - maxSide - width, center.fY - maxSide - width, |
(maxSide + width) * 2, (maxSide + width) * 2); |
path.addRect(outside); |
canvas->drawPath(path, paint); |
@@ -648,7 +648,7 @@ protected: |
if (fArcButton.fEnabled) { |
SkPoint center; |
if (arcCenter(¢er)) { |
- r.set(center.fX - fRadius, center.fY - fRadius, center.fX + fRadius, |
+ r.set(center.fX - fRadius, center.fY - fRadius, center.fX + fRadius, |
center.fY + fRadius); |
} |
} |