Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: src/utils/SkLuaCanvas.cpp

Issue 196603027: add initial scraper for dashing (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rename pushArray to pushArrayPoint Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/utils/SkLua.cpp ('k') | tools/lua/scrape_dashing.lua » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkLuaCanvas.cpp
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp
index 9289beed887a9fc3ec46f5aade60b2fa3797a4cc..b5789e058b95cb728882a897b64cf2067a81ec99 100644
--- a/src/utils/SkLuaCanvas.cpp
+++ b/src/utils/SkLuaCanvas.cpp
@@ -176,6 +176,7 @@ void SkLuaCanvas::drawPaint(const SkPaint& paint) {
void SkLuaCanvas::drawPoints(PointMode mode, size_t count,
const SkPoint pts[], const SkPaint& paint) {
AUTO_LUA("drawPoints");
+ lua.pushArrayPoint(pts, count, "points");
lua.pushPaint(paint, "paint");
}
« no previous file with comments | « src/utils/SkLua.cpp ('k') | tools/lua/scrape_dashing.lua » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698