| 186 | } |
| 187 | |
| 188 | unsigned int |
| 189 | LayoutLayers::waste_layer () const |
| 190 | { |
| 191 | if (m_waste_layer < 0) { |
| 192 | // create the waste layer (since that layer is cached we can do |
| 193 | // this in a "const" fashion. |
| 194 | db::LayoutLayers *self = const_cast<db::LayoutLayers *> (this); |
| 195 | self->m_waste_layer = (int) self->insert_special_layer (db::LayerProperties ("WASTE")); |
| 196 | } |
| 197 | |
| 198 | return (unsigned int) m_waste_layer; |
| 199 | } |
| 200 | |
| 201 | unsigned int |
| 202 | LayoutLayers::guiding_shape_layer () const |
no test coverage detected