MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / measureText

Function measureText

app/services/tdc_vm_runner.cjs:128–130  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

126 arc() {},
127 fill() {},
128 measureText(text) {
129 return { width: String(text).length * 8 };
130 },
131 transform() {},
132 rect() {},
133 clip() {},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected