Home
last modified time | relevance | path

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

/dports/math/vtk8/VTK-8.2.0/Rendering/Matplotlib/
H A DvtkMatplotlibMathTextUtilities.cxx759 const float bg_blend = 1.f - fg_blend; in RenderString() local
761 ptr[0] = static_cast<unsigned char>(bg_blend * bgR + fg_blend * fgR); in RenderString()
762 ptr[1] = static_cast<unsigned char>(bg_blend * bgG + fg_blend * fgG); in RenderString()
763 ptr[2] = static_cast<unsigned char>(bg_blend * bgB + fg_blend * fgB); in RenderString()
764 ptr[3] = static_cast<unsigned char>(255 * (fg_blend + bgA * bg_blend)); in RenderString()
/dports/math/vtk9/VTK-9.1.0/Rendering/Matplotlib/
H A DvtkMatplotlibMathTextUtilities.cxx912 const float bg_blend = 1.f - fg_blend; in RenderOneCell() local
914 ptr[0] = static_cast<unsigned char>(bg_blend * tcolors.bgR + fg_blend * tcolors.fgR); in RenderOneCell()
915 ptr[1] = static_cast<unsigned char>(bg_blend * tcolors.bgG + fg_blend * tcolors.fgG); in RenderOneCell()
916 ptr[2] = static_cast<unsigned char>(bg_blend * tcolors.bgB + fg_blend * tcolors.fgB); in RenderOneCell()
917 ptr[3] = static_cast<unsigned char>(255 * (fg_blend + tcolors.bgA * bg_blend)); in RenderOneCell()
/dports/math/vtk8/VTK-8.2.0/Rendering/FreeType/
H A DvtkFreeTypeTools.cxx2150 const float bg_blend = bgA * (1.f - fg_blend); in RenderCharacter() local
2153 const float a = 255.f * (fg_blend + bg_blend); in RenderCharacter()
2154 const float invA = 1.f / (fg_blend + bg_blend); in RenderCharacter()
2157 const float r = (bg_blend * ptr[0] + fg_blend * fgRGB[0]) * invA; in RenderCharacter()
2158 const float g = (bg_blend * ptr[1] + fg_blend * fgRGB[1]) * invA; in RenderCharacter()
2159 const float b = (bg_blend * ptr[2] + fg_blend * fgRGB[2]) * invA; in RenderCharacter()
/dports/math/vtk9/VTK-9.1.0/Rendering/FreeType/
H A DvtkFreeTypeTools.cxx2025 const float bg_blend = bgA * (1.f - fg_blend); in RenderCharacter() local
2028 const float a = 255.f * (fg_blend + bg_blend); in RenderCharacter()
2029 const float invA = 1.f / (fg_blend + bg_blend); in RenderCharacter()
2032 const float r = (bg_blend * ptr[0] + fg_blend * fgRGB[0]) * invA; in RenderCharacter()
2033 const float g = (bg_blend * ptr[1] + fg_blend * fgRGB[1]) * invA; in RenderCharacter()
2034 const float b = (bg_blend * ptr[2] + fg_blend * fgRGB[2]) * invA; in RenderCharacter()