| 206 | } |
| 207 | |
| 208 | db::DCplxTrans |
| 209 | CellView::context_dtrans () const |
| 210 | { |
| 211 | tl_assert (m_layout_href.get () != 0); |
| 212 | |
| 213 | db::CplxTrans dbu_trans (m_layout_href->layout ().dbu ()); |
| 214 | return dbu_trans * context_trans () * dbu_trans.inverted (); |
| 215 | } |
| 216 | |
| 217 | |
| 218 | // ------------------------------------------------------------- |