MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / cloneBox

Method cloneBox

src/atom/box.cpp:240–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240sptr<HorizontalBox> HorizontalBox::cloneBox() {
241 HorizontalBox* b = new HorizontalBox(_foreground, _background);
242 b->_shift = _shift;
243
244 return sptr<HorizontalBox>(b);
245}
246
247void HorizontalBox::add(const sptr<Box>& b) {
248 recalculate(*b);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected