MCPcopy Create free account
hub / github.com/KiCad/kicad-source-mirror / ClearBoundingBoxCache

Method ClearBoundingBoxCache

common/eda_text.cpp:665–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663
664
665void EDA_TEXT::ClearBoundingBoxCache()
666{
667 std::lock_guard<std::mutex> bboxLock( m_bbox_cacheMutex );
668 m_bbox_cache.clear();
669}
670
671
672std::vector<std::unique_ptr<KIFONT::GLYPH>>*

Callers 15

BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
SwapAttributesMethod · 0.80
ClearCachesMethod · 0.80
AssignNetclassMethod · 0.80
MarkSimExclusionsMethod · 0.80
UpdateItemMethod · 0.80
UpdateItemMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
onDeleteSelectedNetMethod · 0.64