| 1338 | /******************************** OverUnderDelimiter implementation *******************************/ |
| 1339 | |
| 1340 | float OverUnderDelimiter::getMaxWidth(const Box* b, const Box* del, const Box* script) { |
| 1341 | float mx = max(b->_width, del->_height + del->_depth); |
| 1342 | if (script != nullptr) mx = max(mx, script->_width); |
| 1343 | return mx; |
| 1344 | } |
| 1345 | |
| 1346 | sptr<Box> OverUnderDelimiter::createBox(_out_ TeXEnvironment& env) { |
| 1347 | auto b = (_base == nullptr ? sptr<Box>(new StrutBox(0, 0, 0, 0)) : _base->createBox(env)); |
nothing calls this directly
no outgoing calls
no test coverage detected