Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index 7f127403ae0260d4f00557b1d6f5a4b088baa2fd..8c25dc0401e50a0d719153052542f00361864745 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -194,6 +194,14 @@ void SkLuaCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { |
lua.pushPaint(paint, "paint"); |
} |
+void SkLuaCanvas::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, |
+ const SkPaint& paint) { |
+ AUTO_LUA("drawDRRect"); |
+ lua.pushRRect(outer, "outer"); |
+ lua.pushRRect(inner, "inner"); |
+ lua.pushPaint(paint, "paint"); |
+} |
+ |
void SkLuaCanvas::drawPath(const SkPath& path, const SkPaint& paint) { |
AUTO_LUA("drawPath"); |
lua.pushPath(path, "path"); |