diff options
Diffstat (limited to 'samplecode/SampleArc.cpp')
-rw-r--r-- | samplecode/SampleArc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleArc.cpp b/samplecode/SampleArc.cpp index f95833e830..abdcdec2fd 100644 --- a/samplecode/SampleArc.cpp +++ b/samplecode/SampleArc.cpp @@ -127,7 +127,7 @@ protected: str.appendScalar(start); str.append(", "); str.appendScalar(sweep); - canvas->drawText(str.c_str(), str.size(), rect.centerX(), + canvas->drawString(str, rect.centerX(), rect.fBottom + paint.getTextSize() * 5/4, paint); } |