| 176 | } |
| 177 | |
| 178 | db::DBox |
| 179 | Editables::selection_catch_bbox () |
| 180 | { |
| 181 | db::DBox sel_bbox; |
| 182 | for (iterator e = begin (); e != end (); ++e) { |
| 183 | // we use a larger distance for the bbox because once there is a box it's |
| 184 | // more likely we want to capture it and it's tedious to capture a single |
| 185 | // text otherwise (issue-994). |
| 186 | double l = e->catch_distance () * 3.0; |
| 187 | sel_bbox += e->selection_bbox ().enlarged (db::DVector (l, l)); |
| 188 | } |
| 189 | return sel_bbox; |
| 190 | } |
| 191 | |
| 192 | void |
| 193 | Editables::transform (const db::DCplxTrans &t) |
nothing calls this directly
no test coverage detected