| 39 | } |
| 40 | |
| 41 | float TeXRender::getBaseline() const { |
| 42 | return ((_box->_height * _textSize + 0.99f + _insets.top) / |
| 43 | ((_box->_height + _box->_depth) * _textSize + 0.99f + _insets.top + _insets.bottom)); |
| 44 | } |
| 45 | |
| 46 | void TeXRender::setTextSize(float textSize) { |
| 47 | _textSize = textSize; |
nothing calls this directly
no outgoing calls
no test coverage detected