[optimize][line]smooth line (#169)

This commit is contained in:
monitor1394
2022-06-26 08:35:59 +08:00
parent 91b9055039
commit 6c9528cf19
4 changed files with 18 additions and 7 deletions

View File

@@ -496,7 +496,7 @@ namespace XCharts.Runtime
if (isY)
UGLHelper.GetBezierListVertical(ref s_CurvesPosList, sp, ep, smoothness, setting.lineSmoothStyle);
else
UGLHelper.GetBezierList(ref s_CurvesPosList, sp, ep, lsp, nep, smoothness, setting.lineSmoothStyle);
UGLHelper.GetBezierList(ref s_CurvesPosList, sp, ep, lsp, nep, smoothness, setting.lineSmoothStyle, true);
for (int j = 1; j < s_CurvesPosList.Count; j++)
{