kicad/include/drawing_sheet
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
..
ds_data_item.h Cache LIB_PIN text extents for performance. 2023-05-27 16:32:11 +01:00
ds_data_model.h Commenting and formatting. No functional changes. 2023-03-13 18:29:55 +00:00
ds_draw_item.h Cache LIB_PIN text extents for performance. 2023-05-27 16:32:11 +01:00
ds_file_versions.h Font support for drawing sheet editor. 2022-02-28 18:05:26 +00:00
ds_painter.h Commenting and formatting. No functional changes. 2023-03-13 18:29:55 +00:00
ds_proxy_undo_item.h More worksheet -> drawing sheet cleanup. 2021-05-31 12:26:44 +01:00
ds_proxy_view_item.h Commenting and formatting. No functional changes. 2023-03-13 18:29:55 +00:00