RichText: Diagram shape rotations

This commit is contained in:
Mirek Fidler 2025-08-08 14:18:36 +02:00
parent c48e1a33e9
commit 2ee7741484
5 changed files with 47 additions and 3 deletions

View file

@ -78,7 +78,7 @@ void Stroker::Line(const Pointf& p3)
Pointf v2 = p3 - p2;
double l = Length(v2);
if(l < 1e-30)
if(l < 1e-15)
return;
Pointf o2 = Orthogonal(v2) * w2 / l;
Pointf a2 = p2 + o2;