Lines Matching refs:lua
43 #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()
112 lua.pushScalar(matrix.getTranslateX(), "dx"); in didConcat()
113 lua.pushScalar(matrix.getTranslateY(), "dy"); in didConcat()
118 lua.pushScalar(matrix.getScaleX(), "sx"); in didConcat()
119 lua.pushScalar(matrix.getScaleY(), "sy"); in didConcat()
140 lua.pushRect(r, "rect"); in onClipRect()
141 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipRect()
147 lua.pushRRect(rrect, "rrect"); in onClipRRect()
148 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipRRect()
154 lua.pushPath(path, "path"); in onClipPath()
155 lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); in onClipPath()
166 lua.pushPaint(paint, "paint"); in onDrawPaint()
172 lua.pushArrayPoint(pts, SkToInt(count), "points"); in onDrawPoints()
173 lua.pushPaint(paint, "paint"); in onDrawPoints()
178 lua.pushRect(rect, "rect"); in onDrawOval()
179 lua.pushPaint(paint, "paint"); in onDrawOval()
184 lua.pushRect(rect, "rect"); in onDrawRect()
185 lua.pushPaint(paint, "paint"); in onDrawRect()
190 lua.pushRRect(rrect, "rrect"); in onDrawRRect()
191 lua.pushPaint(paint, "paint"); in onDrawRRect()
197 lua.pushRRect(outer, "outer"); in onDrawDRRect()
198 lua.pushRRect(inner, "inner"); in onDrawDRRect()
199 lua.pushPaint(paint, "paint"); in onDrawDRRect()
204 lua.pushPath(path, "path"); in onDrawPath()
205 lua.pushPaint(paint, "paint"); in onDrawPath()
212 lua.pushPaint(*paint, "paint"); in onDrawBitmap()
220 lua.pushPaint(*paint, "paint"); in onDrawBitmapRect()
228 lua.pushPaint(*paint, "paint"); in onDrawBitmapNine()
235 lua.pushPaint(*paint, "paint"); in onDrawImage()
243 lua.pushPaint(*paint, "paint"); in onDrawImageRect()
250 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawText()
251 lua.pushPaint(paint, "paint"); in onDrawText()
257 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawPosText()
258 lua.pushPaint(paint, "paint"); in onDrawPosText()
264 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawPosTextH()
265 lua.pushPaint(paint, "paint"); in onDrawPosTextH()
271 lua.pushPath(path, "path"); in onDrawTextOnPath()
272 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawTextOnPath()
273 lua.pushPaint(paint, "paint"); in onDrawTextOnPath()
279 lua.pushTextBlob(blob, "blob"); in onDrawTextBlob()
280 lua.pushScalar(x, "x"); in onDrawTextBlob()
281 lua.pushScalar(y, "y"); in onDrawTextBlob()
282 lua.pushPaint(paint, "paint"); in onDrawTextBlob()
298 lua.pushPaint(paint, "paint"); in onDrawVertices()