Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkLua.cpp149 static void setfield_number(lua_State* L, const char key[], double value) { in setfield_number() function
160 setfield_number(L, key, SkScalarToLua(value)); in setfield_scalar()
242 setfield_number(fL, "a", SkColorGetA(color) / 255.0); in pushColor()
243 setfield_number(fL, "r", SkColorGetR(color) / 255.0); in pushColor()
244 setfield_number(fL, "g", SkColorGetG(color) / 255.0); in pushColor()
245 setfield_number(fL, "b", SkColorGetB(color) / 255.0); in pushColor()
1248 setfield_number(L, "genID", bm.pixelRef() ? bm.pixelRef()->getGenerationID() : 0); in lshader_isABitmap()
1249 setfield_number(L, "width", bm.width()); in lshader_isABitmap()
1250 setfield_number(L, "height", bm.height()); in lshader_isABitmap()
1277 setfield_number(L, "colorCount", info.fColorCount); in lshader_asAGradient()
[all …]