| Index: src/utils/SkLuaCanvas.cpp
|
| diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp
|
| index 7e7f1730ba242d51c747c1387d70a86ab216c4ac..531cbb00642e0400f6cd4fd3b2788c71b5e244e5 100644
|
| --- a/src/utils/SkLuaCanvas.cpp
|
| +++ b/src/utils/SkLuaCanvas.cpp
|
| @@ -237,29 +237,31 @@
|
| }
|
| }
|
|
|
| -void SkLuaCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
|
| - const SkPaint& paint) {
|
| +void SkLuaCanvas::drawText(const void* text, size_t byteLength, SkScalar x,
|
| + SkScalar y, const SkPaint& paint) {
|
| AUTO_LUA("drawText");
|
| lua.pushEncodedText(paint.getTextEncoding(), text, byteLength);
|
| lua.pushPaint(paint, "paint");
|
| }
|
|
|
| -void SkLuaCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
|
| - const SkPaint& paint) {
|
| +void SkLuaCanvas::drawPosText(const void* text, size_t byteLength,
|
| + const SkPoint pos[], const SkPaint& paint) {
|
| AUTO_LUA("drawPosText");
|
| lua.pushEncodedText(paint.getTextEncoding(), text, byteLength);
|
| lua.pushPaint(paint, "paint");
|
| }
|
|
|
| -void SkLuaCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
|
| - SkScalar constY, const SkPaint& paint) {
|
| +void SkLuaCanvas::drawPosTextH(const void* text, size_t byteLength,
|
| + const SkScalar xpos[], SkScalar constY,
|
| + const SkPaint& paint) {
|
| AUTO_LUA("drawPosTextH");
|
| lua.pushEncodedText(paint.getTextEncoding(), text, byteLength);
|
| lua.pushPaint(paint, "paint");
|
| }
|
|
|
| -void SkLuaCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
|
| - const SkMatrix* matrix, const SkPaint& paint) {
|
| +void SkLuaCanvas::drawTextOnPath(const void* text, size_t byteLength,
|
| + const SkPath& path, const SkMatrix* matrix,
|
| + const SkPaint& paint) {
|
| AUTO_LUA("drawTextOnPath");
|
| lua.pushPath(path, "path");
|
| lua.pushEncodedText(paint.getTextEncoding(), text, byteLength);
|
|
|