Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkLua.cpp412 static SkScalar getfield_scalar_default(lua_State* L, int index, const char key[], SkScalar def) { in getfield_scalar_default() function
442 return SkColorSetARGB(unit2byte(getfield_scalar_default(L, index, "a", 1)), in lua2color()
443 unit2byte(getfield_scalar_default(L, index, "r", 0)), in lua2color()
444 unit2byte(getfield_scalar_default(L, index, "g", 0)), in lua2color()
445 unit2byte(getfield_scalar_default(L, index, "b", 0))); in lua2color()
449 rect->set(getfield_scalar_default(L, index, "left", 0), in lua2rect()
450 getfield_scalar_default(L, index, "top", 0), in lua2rect()