[Impeller] Make stroke round cap/join smoothing way less aggressive (flutter/engine#36625)

This commit is contained in:
Brandon DeRosier
2022-10-05 14:05:29 -07:00
committed by GitHub
parent c075bdbd9c
commit 36da633c2d

View File

@@ -213,7 +213,7 @@ bool SolidStrokeContents::Render(const ContentContext& renderer,
cmd.stencil_reference = entity.GetStencilDepth();
auto smoothing = SmoothingApproximation(
5.0 / (stroke_size_ * entity.GetTransformation().GetMaxBasisLength()),
60.0 / (stroke_size_ * entity.GetTransformation().GetMaxBasisLength()),
0.0, 0.0);
Scalar min_size = 1.0f / sqrt(std::abs(determinant));