Searched refs:setfield_number (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/utils/ |
D | SkLua.cpp | 145 static void setfield_number(lua_State* L, const char key[], double value) { in setfield_number() function 156 setfield_number(L, key, SkScalarToLua(value)); in setfield_scalar() 238 setfield_number(fL, "a", SkColorGetA(color) / 255.0); in pushColor() 239 setfield_number(fL, "r", SkColorGetR(color) / 255.0); in pushColor() 240 setfield_number(fL, "g", SkColorGetG(color) / 255.0); in pushColor() 241 setfield_number(fL, "b", SkColorGetB(color) / 255.0); in pushColor() 1212 setfield_number(L, "genID", bm.pixelRef() ? bm.pixelRef()->getGenerationID() : 0); in lshader_asABitmap() 1213 setfield_number(L, "width", bm.width()); in lshader_asABitmap() 1214 setfield_number(L, "height", bm.height()); in lshader_asABitmap() 1243 setfield_number(L, "colorCount", info.fColorCount); in lshader_asAGradient() [all …]
|