mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
RichText: Diagram shape rotations
This commit is contained in:
parent
c48e1a33e9
commit
2ee7741484
5 changed files with 47 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue