MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Measure

Method Measure

include/Text.hpp:123–123  ·  view source on GitHub ↗

* Measure string width for default font */

Source from the content-addressed store, hash-verified

121 * Measure string width for default font
122 */
123 RLCPP_NODISCARD int Measure() const { return ::MeasureText(text.c_str(), static_cast<int>(fontSize)); }
124
125 /**
126 * Measure string size for Font

Callers

nothing calls this directly

Calls 2

MeasureTextFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected