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

Function main

src/samples/mem_check_main.cpp:149–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147#include "samples/samples.h"
148
149int main(int argc, char* argv[]) {
150 LaTeX::init();
151
152 tex::Samples samples;
153 for (int i = 0; i < samples.count(); i++) {
154 auto r = LaTeX::parse(samples.next(), 720, 20, 20 / 3.f, black);
155 Graphics2D_none g2;
156 r->draw(g2, 0, 0);
157 delete r;
158 }
159
160 LaTeX::release();
161 Graphics2D_none::release();
162 return 0;
163}
164
165#endif // MEM_CHECK

Callers

nothing calls this directly

Calls 3

countMethod · 0.80
initFunction · 0.70
drawMethod · 0.45

Tested by

no test coverage detected