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

Method getWidth

src/render.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37int TeXRender::getWidth() const {
38 return (int)(_box->_width * _textSize + 0.99f + _insets.left + _insets.right);
39}
40
41float TeXRender::getBaseline() const {
42 return ((_box->_height * _textSize + 0.99f + _insets.top) /

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected