kicad/pcbnew/tools
Seth Hillbrand 283aaff2df Use board polygon instead of bbox for size
Board BBox uses the visible size of the board, which includes edge cut
thickness.  This is not appropriate for the Board characteristics.
Using the outline polygon gives accurate results and falls back to a
bounding box in the case where the outline is invalid

Fixes https://gitlab.com/kicad/code/kicad/issues/10972

(cherry picked from commit 54f621c570)
2022-02-25 11:14:54 -08:00
..
board_editor_control.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
board_editor_control.h Don't allow reentrancy into PlaceFootprint. 2021-09-29 17:01:33 +01:00
board_inspection_tool.cpp Fix typo in a copy/paste and a minor compil warning 2022-02-07 17:32:19 +01:00
board_inspection_tool.h Improve clearance and constraint resolution reporting. 2021-12-23 22:31:26 +00:00
board_reannotate_tool.cpp Include Footprints within Groups when re annotating duplicates 2022-01-11 20:51:03 +00:00
board_reannotate_tool.h Array creator tool: Add option to assign unique reference designators 2021-10-25 22:38:49 +01:00
convert_tool.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
convert_tool.h Allow creating polygon types from polygons 2021-08-08 20:29:00 -04:00
drawing_stackup_table_tool.cpp Use board polygon instead of bbox for size 2022-02-25 11:14:54 -08:00
drawing_tool.cpp Implement multi-layer stitching via logic. 2022-02-24 21:32:43 +00:00
drawing_tool.h Keep line stroke params as long as layer doesn't change. 2021-12-24 16:13:51 +00:00
drc_tool.cpp Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
drc_tool.h Exclusions for Unconnected Items; Markers & exclusions for Parity checks 2021-12-24 21:10:28 +00:00
edit_tool.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
edit_tool.h Remove vestigal setting 2021-10-23 22:12:25 -04:00
footprint_editor_control.cpp Exclusions for Unconnected Items; Markers & exclusions for Parity checks 2021-12-24 21:10:28 +00:00
footprint_editor_control.h ADDED Edit Text and Graphics Properties for Footprint Editor. 2021-12-24 18:13:21 +00:00
global_edit_tool.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
global_edit_tool.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
group_tool.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
group_tool.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
pad_tool.cpp Cancel or commit pad edit mode when switching footprints. 2022-02-19 19:36:19 +00:00
pad_tool.h Cancel or commit pad edit mode when switching footprints. 2022-02-19 19:36:19 +00:00
pcb_actions.cpp ADDED: automatic zone refilling. 2022-02-24 18:16:45 +00:00
pcb_actions.h ADDED: automatic zone refilling. 2022-02-24 18:16:45 +00:00
pcb_control.cpp Fix nullptr error (no router tool in footprint editor). 2022-02-20 16:56:53 +00:00
pcb_control.h Improve consistency and hotkey access in Appearances. 2021-10-04 13:44:43 +01:00
pcb_editor_conditions.cpp Improve SNR. 2022-02-12 18:38:11 +00:00
pcb_editor_conditions.h Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
pcb_grid_helper.cpp Fix asserts. 2022-02-24 18:16:45 +00:00
pcb_grid_helper.h Fix pad snapping in renumber pads 2022-01-03 19:39:04 -08:00
pcb_picker_tool.cpp Move grid disable modifier from ALT to CTRL. 2021-05-09 20:17:40 +01:00
pcb_picker_tool.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_point_editor.cpp fix minor compil warnings. 2022-02-25 14:26:37 +01:00
pcb_point_editor.h Pass VECTOR2I objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
pcb_selection.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_selection.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
pcb_selection_conditions.cpp Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
pcb_selection_conditions.h Push most of PCB_SHAPE impl down in to EDA_SHAPE. 2021-10-15 12:45:43 +01:00
pcb_selection_tool.cpp Layer visibilities aren't stored in project for footprint editor. 2022-02-25 00:08:49 +00:00
pcb_selection_tool.h Cross-probing/selection for multiple items (SCH->PCB) 2022-01-16 20:29:03 +00:00
pcb_tool_base.cpp Move PCBNew rotation increment to EDA_ANGLE. 2022-01-14 16:08:19 +00:00
pcb_tool_base.h ADDED: automatic zone refilling. 2022-02-24 18:16:45 +00:00
pcb_viewer_tools.cpp Improve SNR. 2022-02-12 18:38:11 +00:00
pcb_viewer_tools.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
placement_tool.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
placement_tool.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
position_relative_tool.cpp Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
position_relative_tool.h Convert wxPoint/wxSize starting from EDA_RECT usages 2022-01-01 11:30:33 -05:00
tool_event_utils.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
tool_event_utils.h Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
zone_create_helper.cpp Shapes for schematic. 2021-12-23 20:36:07 +00:00
zone_create_helper.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
zone_filler_tool.cpp fix minor compil warnings. 2022-02-25 14:26:37 +01:00
zone_filler_tool.h ADDED: automatic zone refilling. 2022-02-24 18:16:45 +00:00