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

Method setInsets

src/render.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void TeXRender::setInsets(const Insets& insets, bool trueval) {
59 _insets = insets;
60 if (!trueval) _insets += (int)(0.18f * _textSize);
61}
62
63void TeXRender::setWidth(int width, int align) {
64 float diff = width - getWidth();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected