| 805 | } |
| 806 | |
| 807 | void |
| 808 | RedrawThreadWorker::draw_cell_properties (bool drawing_context, int level, const db::CplxTrans &trans, const db::Box &box, db::properties_id_type prop_id) |
| 809 | { |
| 810 | lay::Renderer &r = *mp_renderer; |
| 811 | |
| 812 | unsigned int plane_group = 2; |
| 813 | if (drawing_context) { |
| 814 | plane_group = 0; |
| 815 | } else if (m_child_context_enabled && level > 0) { |
| 816 | plane_group = 1; |
| 817 | } |
| 818 | |
| 819 | lay::CanvasPlane *texts = m_planes[2 + plane_group * (planes_per_layer / 3)]; |
| 820 | |
| 821 | if (prop_id != 0 && m_show_properties) { |
| 822 | r.draw_propstring (prop_id, (trans * box).p1 (), texts, trans); |
| 823 | } |
| 824 | } |
| 825 | |
| 826 | static bool |
| 827 | cells_in (const db::Layout *layout, const db::Cell &cell, |
nothing calls this directly
no test coverage detected