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

Method ReflectBox

src/atom/box.cpp:521–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519/************************************** reflect box implementation ********************************/
520
521ReflectBox::ReflectBox(const sptr<Box>& b) {
522 _box = b;
523 _width = b->_width;
524 _height = b->_height;
525 _depth = b->_depth;
526 _shift = b->_shift;
527}
528
529void ReflectBox::draw(Graphics2D& g2, float x, float y) {
530 drawDebug(g2, x, y);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected