Searched refs:lua2OptionalPaint (Results 1 – 1 of 1) sorted by relevance
/external/skqp/src/utils/ |
D | SkLua.cpp | 460 static SkPaint* lua2OptionalPaint(lua_State* L, int index, SkPaint* paint) { in lua2OptionalPaint() function 484 canvas->drawImage(image, x, y, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawImage() 503 canvas->legacy_drawImageRect(image, srcRPtr, dstR, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawImageRect() 551 canvas->drawPicture(picture, matrixPtr, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawPicture() 601 … lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->saveLayer(nullptr, lua2OptionalPaint(L, 2, &paint))); in lcanvas_saveLayer()
|