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

Method get_screenshot_pb

src/laybasic/laybasic/layLayoutViewBase.cc:2978–2986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2976#endif
2977
2978tl::PixelBuffer
2979LayoutViewBase::get_screenshot_pb ()
2980{
2981 tl::SelfTimer timer (tl::verbosity () >= 11, tl::to_string (tr ("Save screenshot")));
2982
2983 refresh ();
2984
2985 return mp_canvas->screenshot ();
2986}
2987
2988static std::vector<std::pair<std::string, std::string> >
2989png_texts (const lay::LayoutViewBase *view, const db::DBox &box)

Callers 1

Calls 5

verbosityFunction · 0.85
screenshotMethod · 0.80
refreshFunction · 0.70
to_stringFunction · 0.50
trFunction · 0.50

Tested by

no test coverage detected