Commit Graph

21 Commits

Author SHA1 Message Date
wmayer
9b198c7704 MSVC: Fix warnings and build failure 2024-06-12 10:36:58 -05:00
Florian Foinant-Willig
42a660a893 Gui: fix SoDatumLabel arrow disappear 2024-05-20 11:19:56 -05:00
wmayer
c00bcdfb4c Gui: refactor SoDatumLabel::GLRender() 2024-05-16 21:24:57 -04:00
wmayer
3ade47cbe5 Gui: fix linter warnings in SoDatumLabel 2024-05-16 21:24:57 -04:00
wmayer
a6ef045617 Gui: Fix possible crashes with SoDatumLabel
There are possible crashes in the methods:
* SoDatumLabel::getLabelTextCenter()
* SoDatumLabel::generatePrimitives()

The two methods expect three points but do not check that they are defined. Depending on the use case of the SoDatumLabel only
two points may be defined. Accessing a third point is undefined behaviour.
2024-05-16 21:24:57 -04:00
Florian Foinant-Willig
646b4381f9 Sketcher: ArcLength GUI 2024-03-25 22:32:20 +01:00
Florian Foinant-Willig
0625ac026d Core: Fix unselectable area in SoDatumLabel 2024-03-11 12:24:00 -05:00
PaddleStroke
66de7f3968 SoDatumLabel: Add arrowheads to angles. And improve arrowhead rendering. 2024-02-01 14:27:07 +01:00
Paddle
b818be7d5d SoDatumLabel : introduce distance arc helpers. 2024-01-19 11:13:09 +01:00
Paddle
a2c909f329 Draw arc helpers for radius constraints. 2023-11-24 15:07:35 +01:00
Paddle
74dd736e3c Improve angle constraint rendering. 2023-11-24 15:07:35 +01:00
Abdullah Tahiri
5873403254 Fix Compiler warnings of previous merged PRs 2023-11-08 15:20:13 +01:00
mos
8f933f509f removed unused variable 2023-11-06 11:19:52 -06:00
Paddle
fa2b0c8f7c Adds SoDatumLabel::getLabelTextCenter() to get the externalize the finding of position of text center. 2023-10-13 19:03:45 +02:00
wmayer
b5e1d4b601 Gui: Remove bounding box computation from SoDatumLabel::GLRender() 2023-09-17 19:27:12 +02:00
Paddle
712d52bf3d SoDatumLabel: Make the textOffset persistent. 2023-09-17 13:05:53 +02:00
wmayer
9289e33e2f Gui: determine the bounding box of an SoDatumLabel outside its GLRender() method 2023-09-13 16:56:53 +02:00
wmayer
2725c3a54f Gui: modernize C++: use range-based for loop 2023-08-14 19:42:18 +02:00
Paddle
a8f65156db TaskImage: fix issues 2023-04-12 16:48:08 +02:00
Paddle
9172157d40 TaskImage: use SoDatumLabel instead of basic line. 2023-04-12 16:48:07 +02:00
Paddle
fc8c1cbed7 Move SoDatumLabel from Sketcher to Core so that it can be reused anywhere. 2023-04-12 16:48:07 +02:00