Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h109 static CPWL_Color SubstractColor(const CPWL_Color & sColor,FX_FLOAT fColorSub);
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp1158 CPWL_Color CPWL_Utils::SubstractColor(const CPWL_Color & sColor,FX_FLOAT fColorSub) in SubstractColor() argument
1167 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()