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

Method ensure_visible

src/laybasic/laybasic/layLayoutViewBase.cc:3988–3994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3986}
3987
3988void
3989LayoutViewBase::ensure_visible (const db::DBox &bbox)
3990{
3991 db::DBox new_box = bbox + viewport ().box ();
3992 mp_canvas->zoom_box (new_box);
3993 store_state ();
3994}
3995
3996void
3997LayoutViewBase::zoom_box_and_set_hier_levels (const db::DBox &bbox, const std::pair<int, int> &levels)

Callers

nothing calls this directly

Calls 3

store_stateFunction · 0.85
boxMethod · 0.45
zoom_boxMethod · 0.45

Tested by

no test coverage detected