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

Method Font LoadFontEx

include/Functions.hpp:320–323  ·  view source on GitHub ↗

* Load font from file (filename must include file extension) */

Source from the content-addressed store, hash-verified

318 * Load font from file (filename must include file extension)
319 */
320RLCPP_MAYBEUNUSED RLCPPAPI inline ::Font
321LoadFontEx(const std::string& fileName, int fontSize, const int* codepoints = nullptr, int codepointCount = 0) {
322 return ::LoadFontEx(fileName.c_str(), fontSize, codepoints, codepointCount);
323}
324
325/**
326 * Measure string width for default font

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected