DarwinNE / FidoCadJ

FidoCadJ is a free user-friendly vector graphic editor for MacOSX, Linux, Windows and Android with a library of electronic symbols.
http://darwinne.github.io/FidoCadJ/
GNU General Public License v3.0
113 stars 42 forks source link

Line / arrow angle information #208

Open simo-zz opened 3 years ago

simo-zz commented 3 years ago

Hello @DarwinNE,

Would be great if trough the parameter window (or using any other possible solution) of line / arrow item, the user could obtain information about its angle.

This could be useful for text alignment as shown in the following code:

[FIDOCAD]
FJC C 1.3
FJC A 0.3
FJC B 0.3
LI 120 45 100 40 0
FCJ 2 0 3 1 0 0
TY 109 38 2 2 -14 0 0 Carlito ≈-14º

I think that the most simple way to do this is to make the computed angle visible into the parameters gui:

Screenshot_2021-08-09_10-17-17

Cheers, s.