Searched refs:alphaPercent (Results 1 – 1 of 1) sorted by relevance
178 float alphaPercent = a / 255.0f; in setRGBA() local179 r = static_cast<unsigned>(r * alphaPercent); in setRGBA()180 g = static_cast<unsigned>(g * alphaPercent); in setRGBA()181 b = static_cast<unsigned>(b * alphaPercent); in setRGBA()