Files
create/src/Mod/Draft/draftfunctions
Matthijs Kooijman 52e7dafedb Draft: Fix mixup of TextAlignment vs Justification for Labels
TextAlignment is the vertical alignment, while Justification is the
horizontal alignment. here, get_text was passed the vertical, while it
expected the horizontal. This caused the alignment of a Label to be
wrong in the resulting SVG (e.g. in a TechDraw draft view).

This seems to have been broken since SVG support for Labels was first
introduced in commit d6f8ded4ca (Initial work, only text (no lines)).
2022-03-22 14:46:50 +01:00
..
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00
2022-01-15 18:23:05 +01:00
2021-12-07 22:53:54 -06:00
2021-12-07 22:53:54 -06:00

2020 May

These modules provide supporting functions for dealing with the custom "scripted objects" defined within the workbench.

The functions are meant to be used in the creation step of the objects, by the "make functions" in draftmake/, but also by the graphical "Gui Commands" modules in draftguitools/ and drafttaskpanels/.

These functions should deal with the internal shapes of the objects, or other special properties. They should not be very generic; if they are very generic then they are more appropriate to be included in the modules in draftutils/.

For more information see the thread: [Discussion] Splitting Draft tools into their own modules