MCPcopy Create free account
hub / github.com/SFML/SFML / Font

Method Font

src/SFML/Graphics/Font.cpp:135–139  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

133
134////////////////////////////////////////////////////////////
135Font::Font(const std::filesystem::path& filename)
136{
137 if (!openFromFile(filename))
138 throw Exception("Failed to open font from file");
139}
140
141
142////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected