kicad/pagelayout_editor
Jeff Young f35a88ce0b 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
2023-05-27 16:32:11 +01:00
..
dialogs Insta-prefs. 2023-05-10 18:14:14 +01:00
tools Cache LIB_PIN text extents for performance. 2023-05-27 16:32:11 +01:00
CMakeLists.txt Revert "Reintroduce constexpr to COLOR4D" 2023-04-06 20:18:31 +01:00
files.cpp Maintain file permissions when renaming 2023-05-24 17:09:38 -07:00
invoke_pl_editor_dialog.h Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
menubar.cpp Add Grid Settings to PL_EDITOR. 2023-04-29 18:17:21 +01:00
pagelayout_editor.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pagelayout_editor_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pl_draw_panel_gal.cpp Nullptr safety. (Sentry KICAD-4F) 2023-01-18 01:16:57 +00:00
pl_draw_panel_gal.h More worksheet -> drawing sheet cleanup. 2021-05-31 12:26:44 +01:00
pl_editor.cpp Rename CreateWindow to CreateKiWindow to avoid a collision name with a windows header 2022-11-08 12:31:07 +01:00
pl_editor_frame.cpp Cache LIB_PIN text extents for performance. 2023-05-27 16:32:11 +01:00
pl_editor_frame.h Formatting and cleanup. 2023-04-29 18:17:17 +01:00
pl_editor_id.h Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
pl_editor_layout.cpp More EDA_RECE yeetage. 2022-08-31 17:19:50 +01:00
pl_editor_layout.h More EDA_RECE yeetage. 2022-08-31 17:19:50 +01:00
pl_editor_settings.cpp Untangle pl_editor includes 2020-10-13 20:33:33 -04:00
pl_editor_settings.h More header clean up. 2021-06-08 15:39:47 -04:00
pl_editor_undo_redo.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
toolbars_pl_editor.cpp Add Grid Settings to PL_EDITOR. 2023-04-29 18:17:21 +01:00