Searched refs:lua2color (Results 1 – 1 of 1) sorted by relevance
445 static SkColor lua2color(lua_State* L, int index) { in lua2color() function466 get_ref<SkCanvas>(L, 1)->drawColor(lua2color(L, 2)); in lcanvas_drawColor()892 get_obj<SkPaint>(L, 1)->setColor(lua2color(L, 2)); in lpaint_setColor()1973 SkColor c0 = lua2color(L, 3); in lsk_newLinearGradient()1976 SkColor c1 = lua2color(L, 6); in lsk_newLinearGradient()