Lines Matching refs:lua
46 #define AUTO_LUA(verb) AutoCallLua lua(fL, fFunc.c_str(), verb)
92 lua.pushRect(*rec.fBounds, "bounds"); in getSaveLayerStrategy()
95 lua.pushPaint(*rec.fPaint, "paint"); in getSaveLayerStrategy()
117 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()
118 lua.pushScalar(matrix.getTranslateY(), "dy"); in didConcat()
123 lua.pushScalar(matrix.getScaleX(), "sx"); in didConcat()
124 lua.pushScalar(matrix.getScaleY(), "sy"); in didConcat()
145 lua.pushRect(r, "rect"); in onClipRect()
146 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipRect()
152 lua.pushRRect(rrect, "rrect"); in onClipRRect()
153 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipRRect()
159 lua.pushPath(path, "path"); in onClipPath()
160 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipPath()
171 lua.pushPaint(paint, "paint"); in onDrawPaint()
177 lua.pushArrayPoint(pts, SkToInt(count), "points"); in onDrawPoints()
178 lua.pushPaint(paint, "paint"); in onDrawPoints()
183 lua.pushRect(rect, "rect"); in onDrawOval()
184 lua.pushPaint(paint, "paint"); in onDrawOval()
190 lua.pushRect(rect, "rect"); in onDrawArc()
191 lua.pushScalar(startAngle, "startAngle"); in onDrawArc()
192 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
193 lua.pushBool(useCenter, "useCenter"); in onDrawArc()
194 lua.pushPaint(paint, "paint"); in onDrawArc()
199 lua.pushRect(rect, "rect"); in onDrawRect()
200 lua.pushPaint(paint, "paint"); in onDrawRect()
205 lua.pushRRect(rrect, "rrect"); in onDrawRRect()
206 lua.pushPaint(paint, "paint"); in onDrawRRect()
212 lua.pushRRect(outer, "outer"); in onDrawDRRect()
213 lua.pushRRect(inner, "inner"); in onDrawDRRect()
214 lua.pushPaint(paint, "paint"); in onDrawDRRect()
219 lua.pushPath(path, "path"); in onDrawPath()
220 lua.pushPaint(paint, "paint"); in onDrawPath()
227 lua.pushPaint(*paint, "paint"); in onDrawBitmap()
235 lua.pushPaint(*paint, "paint"); in onDrawBitmapRect()
243 lua.pushPaint(*paint, "paint"); in onDrawBitmapNine()
250 lua.pushPaint(*paint, "paint"); in onDrawImage()
258 lua.pushPaint(*paint, "paint"); in onDrawImageRect()
265 lua.pushTextBlob(blob, "blob"); in onDrawTextBlob()
266 lua.pushScalar(x, "x"); in onDrawTextBlob()
267 lua.pushScalar(y, "y"); in onDrawTextBlob()
268 lua.pushPaint(paint, "paint"); in onDrawTextBlob()
287 lua.pushPaint(paint, "paint"); in onDrawVerticesObject()