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

Method layer_props

src/laybasic/laybasic/layParsedLayerSource.cc:1541–1555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1539}
1540
1541db::LayerProperties
1542ParsedLayerSource::layer_props () const
1543{
1544 db::LayerProperties lp;
1545 if (has_name ()) {
1546 lp.name = name ();
1547 }
1548 if (m_layer >= 0) {
1549 lp.layer = m_layer;
1550 }
1551 if (m_datatype >= 0) {
1552 lp.datatype = m_datatype;
1553 }
1554 return lp;
1555}
1556
1557unsigned int
1558ParsedLayerSource::color_index () const

Callers 14

image_is_visibleMethod · 0.80
lp_iter_from_stringFunction · 0.80
get_edit_layerMethod · 0.80
update_edit_layerMethod · 0.80
load_button_pressedMethod · 0.80
do_update_layer_listMethod · 0.80
open_displayMethod · 0.80
enterMethod · 0.80
find_layerMethod · 0.80
add_new_layersMethod · 0.80
reload_layoutMethod · 0.80

Calls 2

has_nameFunction · 0.70
nameFunction · 0.70

Tested by

no test coverage detected