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

Unified Diff: include/utils/SkLua.h

Issue 267423006: Add asADash to Lua for scraping (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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 | « no previous file | src/utils/SkLua.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/utils/SkLua.h
diff --git a/include/utils/SkLua.h b/include/utils/SkLua.h
index 9a1ebfdebb3842ce82ca19fe4baf00b5a9ea95d2..a7fceaaa81370ff95b63f520300d0a34d4b95185 100644
--- a/include/utils/SkLua.h
+++ b/include/utils/SkLua.h
@@ -10,6 +10,7 @@
#include "SkClipStack.h"
#include "SkColor.h"
+#include "SkPathEffect.h"
#include "SkScalar.h"
#include "SkString.h"
@@ -46,11 +47,13 @@ public:
void pushString(const SkString&, const char tableKey[] = NULL);
void pushArrayU16(const uint16_t[], int count, const char tableKey[] = NULL);
void pushArrayPoint(const SkPoint[], int count, const char key[] = NULL);
+ void pushArrayScalar(const SkScalar[], int count, const char key[] = NULL);
void pushColor(SkColor, const char tableKey[] = NULL);
void pushU32(uint32_t, const char tableKey[] = NULL);
void pushScalar(SkScalar, const char tableKey[] = NULL);
void pushRect(const SkRect&, const char tableKey[] = NULL);
void pushRRect(const SkRRect&, const char tableKey[] = NULL);
+ void pushDash(const SkPathEffect::DashInfo&, const char tableKey[] = NULL);
void pushMatrix(const SkMatrix&, const char tableKey[] = NULL);
void pushPaint(const SkPaint&, const char tableKey[] = NULL);
void pushPath(const SkPath&, const char tableKey[] = NULL);
« no previous file with comments | « no previous file | src/utils/SkLua.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698