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

Method init

src/laybasic/laybasic/layLayoutViewBase.cc:312–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312void
313LayoutViewBase::init (db::Manager *mgr)
314{
315 manager (mgr);
316
317 m_active_cellview_index = -1;
318 m_active_cellview_changed_event_enabled = true;
319
320 m_annotation_shapes.manager (mgr);
321
322 m_visibility_changed = false;
323 m_disabled_edits = 0;
324 m_synchronous = false;
325 m_drawing_workers = 1;
326 m_from_level = 0;
327 m_pan_distance = 0.15;
328 m_wheel_mode = 0;
329 m_paste_display_mode = 2;
330 m_guiding_shape_visible = true;
331 m_guiding_shape_line_width = 1;
332 m_guiding_shape_color = tl::Color ();
333 m_guiding_shape_vertex_size = 5;
334 m_to_level = 0;
335 m_ctx_dimming = 50;
336 m_ctx_hollow = false;
337 m_child_ctx_dimming = 50;
338 m_child_ctx_hollow = false;
339 m_child_ctx_enabled = false;
340 m_abstract_mode_width = 10.0;
341 m_abstract_mode_enabled = false;
342 m_box_text_transform = true;
343 m_box_font = 0;
344 m_min_size_for_label = 16;
345 m_empty_cell_dimension = 4.0;
346 m_cell_box_visible = true;
347 m_ghost_cells_visible = true;
348 m_text_visible = true;
349 m_default_font_size = lay::FixedFont::default_font_size ();
350 m_text_lazy_rendering = true;
351 m_bitmap_caching = true;
352 m_show_properties = false;
353 m_apply_text_trans = true;
354 m_apply_text_trans_mode = 3;
355 m_default_text_size = 0.1;
356 m_text_point_mode = false;
357 m_text_font = 0;
358 m_show_markers = true;
359 m_no_stipples = false;
360 m_stipple_offset = true;
361 m_fit_new_cell = true;
362 m_full_hier_new_cell = false;
363 m_clear_ruler_new_cell = false;
364 m_dbu_coordinates = false;
365 m_absolute_coordinates = false;
366 m_auto_create_new_layers = true;
367 m_drop_small_cells = false;
368 m_drop_small_cells_value = 10;
369 m_drop_small_cells_cond = DSC_Max;

Callers

nothing calls this directly

Calls 8

default_font_sizeFunction · 0.85
minFunction · 0.85
managerMethod · 0.80
managerFunction · 0.70
push_backMethod · 0.45
attach_viewMethod · 0.45
backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected