MCPcopy Create free account
hub / github.com/KLayout/klayout / show_layout1

Function show_layout1

src/laybasic/laybasic/gsiDeclLayLayoutViewBase.cc:282–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282static unsigned int show_layout1 (lay::LayoutViewBase *view, db::Layout *layout, bool add_cellview)
283{
284 lay::LayoutHandle *handle = lay::LayoutHandle::find_layout (layout);
285 if (! handle) {
286 handle = new lay::LayoutHandle (layout, std::string ());
287 }
288 return view->add_layout (handle, add_cellview);
289}
290
291static unsigned int show_layout2 (lay::LayoutViewBase *view, db::Layout *layout, std::string &tech, bool add_cellview, bool initialize_layers)
292{

Callers

nothing calls this directly

Calls 3

find_layoutFunction · 0.85
stringFunction · 0.50
add_layoutMethod · 0.45

Tested by

no test coverage detected