diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-14 16:03:14 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-14 16:03:14 +0000 |
commit | 4d803a976c25ed582b02f8c42cd91c82e9d1ea84 (patch) | |
tree | 2ac9857e5815929f90e9233355d5c5006605b45a /include/utils/SkLua.h | |
parent | 0fd0d4c7fe42310da1d312be95cebd0bed32a998 (diff) |
Add asADash to Lua for scraping
BUG=skia:
R=robertphillips@google.com, reed@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/267423006
git-svn-id: http://skia.googlecode.com/svn/trunk@14733 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils/SkLua.h')
-rw-r--r-- | include/utils/SkLua.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/SkLua.h b/include/utils/SkLua.h index 9a1ebfdebb..a7fceaaa81 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); |