MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / jjGetStringWidth

Method jjGetStringWidth

Sources/Jazz2/Scripting/JJ2PlusDefinitions.cpp:741–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739 }
740
741 int jjCANVAS::jjGetStringWidth(const String& text, const jjANIMATION& animation, const jjTEXTAPPEARANCE& style) {
742 noop();
743 // TODO
744 return text.size() * 12.0f;
745 }
746
747 jjOBJ::jjOBJ() : _refCount(1) {
748 noop();

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
MeasureStringMethod · 0.45

Tested by

no test coverage detected