Home
last modified time | relevance | path

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

/external/skqp/src/utils/
DSkLua.cpp378 static SkScalar getfield_scalar_default(lua_State* L, int index, const char key[], SkScalar def) { in getfield_scalar_default() function
408 return SkColorSetARGB(unit2byte(getfield_scalar_default(L, index, "a", 1)), in lua2color()
409 unit2byte(getfield_scalar_default(L, index, "r", 0)), in lua2color()
410 unit2byte(getfield_scalar_default(L, index, "g", 0)), in lua2color()
411 unit2byte(getfield_scalar_default(L, index, "b", 0))); in lua2color()
415 rect->set(getfield_scalar_default(L, index, "left", 0), in lua2rect()
416 getfield_scalar_default(L, index, "top", 0), in lua2rect()