| 2069 | }; |
| 2070 | |
| 2071 | void |
| 2072 | RedrawThreadWorker::draw_layer (int from_level, int to_level, db::cell_index_type ci, const db::CplxTrans &trans, const std::vector<db::Box> &vp, int level, |
| 2073 | lay::CanvasPlane *fill, lay::CanvasPlane *frame, lay::CanvasPlane *vertex, lay::CanvasPlane *text, const UpdateSnapshotCallback *update_snapshot) |
| 2074 | { |
| 2075 | // do not draw, if there is nothing to draw |
| 2076 | if (mp_layout->cells () <= ci || vp.empty ()) { |
| 2077 | return; |
| 2078 | } |
| 2079 | if (cell_var_cached (ci, trans)) { |
| 2080 | return; |
| 2081 | } |
| 2082 | |
| 2083 | for (std::vector<db::Box>::const_iterator b = vp.begin (); b != vp.end (); ++b) { |
| 2084 | draw_layer (from_level, to_level, ci, trans, *b, level, fill, frame, vertex, text, update_snapshot); |
| 2085 | } |
| 2086 | } |
| 2087 | |
| 2088 | void |
| 2089 | RedrawThreadWorker::draw_layer (int from_level, int to_level, db::cell_index_type ci, const db::CplxTrans &trans, const db::Box &vp, int level, |
nothing calls this directly
no test coverage detected