| Index: src/utils/SkLuaCanvas.cpp
|
| diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp
|
| index c51b0d8a7ced834b6244497510e46a220cc06836..a3160af800af936e5b63f1dbf5fd011c0dcdac30 100644
|
| --- a/src/utils/SkLuaCanvas.cpp
|
| +++ b/src/utils/SkLuaCanvas.cpp
|
| @@ -273,6 +273,14 @@ void SkLuaCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const Sk
|
| lua.pushPaint(paint, "paint");
|
| }
|
|
|
| +void SkLuaCanvas::onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
|
| + const SkRect* cull, const SkPaint& paint) {
|
| + AUTO_LUA("drawTextRSXform");
|
| + lua.pushEncodedText(paint.getTextEncoding(), text, byteLength);
|
| + // TODO: export other params
|
| + lua.pushPaint(paint, "paint");
|
| +}
|
| +
|
| void SkLuaCanvas::onDrawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y,
|
| const SkPaint &paint) {
|
| AUTO_LUA("drawTextBlob");
|
|
|