7acc0b89f9
This introduces a new util function in geometry_utils which snaps a vector to axes or 45 degree lines. This can be used whenever you want to snap a vector to these angles, but still want it to stay on a grid. This snapping is used for the dimension tool and the ruler tool. This is substantially simpler for two-point tools that the method used by the line tool, which uses DIRECTION_45. Fixes: lp:1780826 https://bugs.launchpad.net/kicad/+bug/1780826 |
||
---|---|---|
.. | ||
arc_assistant.h | ||
arc_geom_manager.h | ||
bright_box.h | ||
centreline_rect_item.h | ||
multistep_geom_manager.h | ||
polygon_geom_manager.h | ||
polygon_item.h | ||
preview_utils.h | ||
ruler_item.h | ||
selection_area.h | ||
simple_overlay_item.h | ||
two_point_geom_manager.h |