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

Method get_pixels_with_options

src/laybasic/laybasic/layLayoutViewBase.cc:3091–3100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3089#endif
3090
3091tl::PixelBuffer
3092LayoutViewBase::get_pixels_with_options (unsigned int width, unsigned int height, int linewidth, int oversampling, double resolution, double font_resolution,
3093 tl::Color background, tl::Color foreground, tl::Color active, const db::DBox &target_box)
3094{
3095 tl::SelfTimer timer (tl::verbosity () >= 11, tl::to_string (tr ("Get image")));
3096
3097 refresh ();
3098
3099 return mp_canvas->image_with_options (width, height, linewidth, oversampling, resolution, font_resolution, background, foreground, active, target_box);
3100}
3101
3102tl::BitmapBuffer
3103LayoutViewBase::get_pixels_with_options_mono (unsigned int width, unsigned int height, int linewidth,

Callers 3

test_4Method · 0.80
get_pixels_with_optionsFunction · 0.80

Calls 5

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

Tested by 1

test_4Method · 0.64