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

Method defineColor

src/atom/atom_basic.cpp:647–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void ColorAtom::defineColor(const string& name, color c) {
648 _colors[name] = c;
649}
650
651color ColorAtom::getColor(string s) {
652 if (s.empty()) return _default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected