kicad/pagelayout_editor/tools
Jeff Young 16f286735d Cache LIB_PIN text extents for performance.
Also fixes a bug where we didn't triangulate at all when the char
count didn't warrant the likely overhead of spinning up a
thread_pool.

And fix another bug where EDA_TEXT::GetRenderCache() wasn't using
the given font.

Also reverts using the cache for drawing-sheet text.  The text
items are created from scratch from the data items each time
they're drawn, so there's never an existing cache to make use of.
Instead, we now check that the item is in the view, using a very
approximate bounding box generator (because even generating a
real bounding box shows up large in profiles).

And, lastly, fixes a bug where EndPos was never considered in
DS_DATA_ITEM::IsInsidePage().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14822

(cherry picked from commit f35a88ce0b)
2023-06-04 21:11:06 +01:00
..
pl_actions.cpp More worksheet -> drawing sheet cleanup. 2021-05-31 12:26:44 +01:00
pl_actions.h cleanup tool event and tool action includes 2021-06-06 18:26:26 +01:00
pl_drawing_tools.cpp Cache LIB_PIN text extents for performance. 2023-06-04 21:11:06 +01:00
pl_drawing_tools.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
pl_edit_tool.cpp Cache LIB_PIN text extents for performance. 2023-06-04 21:11:06 +01:00
pl_edit_tool.h Pass VECTOR2I objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
pl_editor_control.cpp Repoint IU_PER_MILS 2022-09-16 21:09:26 -04:00
pl_editor_control.h Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
pl_point_editor.cpp Cache LIB_PIN text extents for performance. 2023-06-04 21:11:06 +01:00
pl_point_editor.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
pl_selection.cpp More EDA_RECE yeetage. 2022-08-31 17:19:50 +01:00
pl_selection.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
pl_selection_tool.cpp Selection: refactor modifier checking 2022-12-08 14:12:12 -05:00
pl_selection_tool.h Share more code between selection tools. 2022-07-11 19:04:08 -06:00