HomeSort by relevance Sort by last modified time
    Searched refs:unit2byte (Results 1 - 2 of 2) sorted by null

  /external/skia/src/utils/
SkLua.cpp 392 static U8CPU unit2byte(SkScalar x) { function
403 return SkColorSetARGB(unit2byte(getfield_scalar_default(L, index, "a", 1)),
404 unit2byte(getfield_scalar_default(L, index, "r", 0)),
405 unit2byte(getfield_scalar_default(L, index, "g", 0)),
406 unit2byte(getfield_scalar_default(L, index, "b", 0)));
784 get_obj<SkPaint>(L, 1)->setAlpha(unit2byte(lua2scalar(L, 2)));
    [all...]
  /external/skqp/src/utils/
SkLua.cpp 392 static U8CPU unit2byte(SkScalar x) { function
403 return SkColorSetARGB(unit2byte(getfield_scalar_default(L, index, "a", 1)),
404 unit2byte(getfield_scalar_default(L, index, "r", 0)),
405 unit2byte(getfield_scalar_default(L, index, "g", 0)),
406 unit2byte(getfield_scalar_default(L, index, "b", 0)));
784 get_obj<SkPaint>(L, 1)->setAlpha(unit2byte(lua2scalar(L, 2)));
    [all...]

Completed in 93 milliseconds