Home
last modified time | relevance | path

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

/external/skqp/src/utils/
DSkLua.cpp173 static void setfield_number(lua_State* L, const char key[], double value) { in setfield_number() function
184 setfield_number(L, key, SkScalarToLua(value)); in setfield_scalar()
271 setfield_number(fL, "a", SkColorGetA(color) / 255.0); in pushColor()
272 setfield_number(fL, "r", SkColorGetR(color) / 255.0); in pushColor()
273 setfield_number(fL, "g", SkColorGetG(color) / 255.0); in pushColor()
274 setfield_number(fL, "b", SkColorGetB(color) / 255.0); in pushColor()
1048 setfield_number(L, "id", image->uniqueID()); in lshader_isAImage()
1049 setfield_number(L, "width", image->width()); in lshader_isAImage()
1050 setfield_number(L, "height", image->height()); in lshader_isAImage()
1075 setfield_number(L, "colorCount", info.fColorCount); in lshader_asAGradient()