Add fill color for tensor patch gradient

This commit is contained in:
Prokhorov Kirill
2025-01-28 11:02:01 +03:00
parent 4568144a22
commit 99224aecb9
2 changed files with 18 additions and 3 deletions

View File

@ -1000,7 +1000,14 @@ namespace agg
{
if (i < RES && j < RES)
{
precalc[i][j] = c;
if (m_oGradientInfo.luminocity)
{
ColorT fillC(m_oGradientInfo.shading.fill_color);
fillC.a = c.a;
precalc[i][j] = fillC;
}
else
precalc[i][j] = c;
}
}
}