Searched refs:setfield_number (Results 1 - 1 of 1) sorted by relevance
/external/skia/src/utils/ |
H A D | SkLua.cpp | 149 static void setfield_number(lua_State* L, const char key[], double value) { function 160 setfield_number(L, key, SkScalarToLua(value)); 242 setfield_number(fL, "a", SkColorGetA(color) / 255.0); 243 setfield_number(fL, "r", SkColorGetR(color) / 255.0); 244 setfield_number(fL, "g", SkColorGetG(color) / 255.0); 245 setfield_number(fL, "b", SkColorGetB(color) / 255.0); 1248 setfield_number(L, "genID", bm.pixelRef() ? bm.pixelRef()->getGenerationID() : 0); 1249 setfield_number(L, "width", bm.width()); 1250 setfield_number(L, "height", bm.height()); 1277 setfield_number( [all...] |
Completed in 57 milliseconds