Searched refs:fColorSub (Results 1 – 2 of 2) sorted by relevance
109 static CPWL_Color SubstractColor(const CPWL_Color & sColor,FX_FLOAT fColorSub);
1158 CPWL_Color CPWL_Utils::SubstractColor(const CPWL_Color & sColor,FX_FLOAT fColorSub) in SubstractColor() argument1167 sRet.fColor1 = PWL_MAX(1 - fColorSub,0.0f); in SubstractColor()1168 sRet.fColor2 = PWL_MAX(1 - fColorSub,0.0f); in SubstractColor()1169 sRet.fColor3 = PWL_MAX(1 - fColorSub,0.0f); in SubstractColor()1174 sRet.fColor1 = PWL_MAX(sColor.fColor1 - fColorSub,0.0f); in SubstractColor()1175 sRet.fColor2 = PWL_MAX(sColor.fColor2 - fColorSub,0.0f); in SubstractColor()1176 sRet.fColor3 = PWL_MAX(sColor.fColor3 - fColorSub,0.0f); in SubstractColor()1177 sRet.fColor4 = PWL_MAX(sColor.fColor4 - fColorSub,0.0f); in SubstractColor()