| 637 | const float FencedAtom::DELIMITER_SHORTFALL = 5.f; |
| 638 | |
| 639 | void FencedAtom::init(const sptr<Atom>& b, const sptr<SymbolAtom>& l, const sptr<SymbolAtom>& r) { |
| 640 | if (b == nullptr) |
| 641 | _base = sptr<Atom>(new RowAtom()); |
| 642 | else |
| 643 | _base = b; |
| 644 | if (l == nullptr || l->getName() != "normaldot") _left = l; |
| 645 | if (r == nullptr || r->getName() != "normaldot") _right = r; |
| 646 | } |
| 647 | |
| 648 | void FencedAtom::center(_out_ Box& b, float axis) { |
| 649 | float h = b._height, total = h + b._depth; |
nothing calls this directly
no test coverage detected