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

Method get_pixels_with_options_mono

src/laybasic/laybasic/layLayoutViewBase.cc:3102–3111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3100}
3101
3102tl::BitmapBuffer
3103LayoutViewBase::get_pixels_with_options_mono (unsigned int width, unsigned int height, int linewidth,
3104 tl::Color background, tl::Color foreground, tl::Color active, const db::DBox &target_box)
3105{
3106 tl::SelfTimer timer (tl::verbosity () >= 11, tl::to_string (tr ("Get image")));
3107
3108 refresh ();
3109
3110 return mp_canvas->image_with_options_mono (width, height, linewidth, background, foreground, active, target_box);
3111}
3112
3113#if defined(HAVE_QT) && !defined(PREFER_LIBPNG_FOR_SAVE)
3114void

Callers 3

test_4Method · 0.80

Calls 5

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

Tested by 1

test_4Method · 0.64