Searched refs:get_obj (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/utils/ |
D | SkLua.cpp | 85 template <typename T> T* get_obj(lua_State* L, int index) { in get_obj() function 467 get_ref<SkCanvas>(L, 1)->drawPaint(*get_obj<SkPaint>(L, 2)); in lcanvas_drawPaint() 474 const SkPaint* paint = get_obj<SkPaint>(L, 3); in lcanvas_drawRect() 482 *get_obj<SkPaint>(L, 3)); in lcanvas_drawOval() 490 *get_obj<SkPaint>(L, 5)); in lcanvas_drawCircle() 499 const SkPaint* ptr = get_obj<SkPaint>(L, index); in lua2OptionalPaint() 563 get_ref<SkCanvas>(L, 1)->drawPatch(cubics, colors, texs, NULL, *get_obj<SkPaint>(L, 5)); in lcanvas_drawPatch() 568 get_ref<SkCanvas>(L, 1)->drawPath(*get_obj<SkPath>(L, 2), in lcanvas_drawPath() 569 *get_obj<SkPaint>(L, 3)); in lcanvas_drawPath() 599 *get_obj<SkPaint>(L, 5)); in lcanvas_drawText() [all …]
|