Home
last modified time | relevance | path

Searched refs:lua2OptionalPaint (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/utils/
DSkLua.cpp494 static SkPaint* lua2OptionalPaint(lua_State* L, int index, SkPaint* paint) { in lua2OptionalPaint() function
518 canvas->drawImage(image, x, y, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawImage()
537 canvas->drawImageRect(image, srcRPtr, dstR, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawImageRect()
585 canvas->drawPicture(picture, matrixPtr, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawPicture()
674 lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->saveLayer(NULL, lua2OptionalPaint(L, 2, &paint))); in lcanvas_saveLayer()