Searched refs:getfield_scalar_default (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/utils/ |
D | SkLua.cpp | 416 static SkScalar getfield_scalar_default(lua_State* L, int index, const char key[], SkScalar def) { in getfield_scalar_default() function 446 return SkColorSetARGB(unit2byte(getfield_scalar_default(L, index, "a", 1)), in lua2color() 447 unit2byte(getfield_scalar_default(L, index, "r", 0)), in lua2color() 448 unit2byte(getfield_scalar_default(L, index, "g", 0)), in lua2color() 449 unit2byte(getfield_scalar_default(L, index, "b", 0))); in lua2color() 453 rect->set(getfield_scalar_default(L, index, "left", 0), in lua2rect() 454 getfield_scalar_default(L, index, "top", 0), in lua2rect()
|