Font * findClosestFont(std::vector< Font > *Fonts, int TargetFontSize)
Finds the font closest to the target size.
Definition fonts.cpp:5
Struct for advanced versions of the Raylib Font struct.
Definition fonts.hpp:10
constexpr int size() const
Gets the fontsize.
Definition fonts.hpp:16
Font(std::string FilePath, int FontSize)
Load font size with specified size.
Definition fonts.hpp:27
Font(std::string FilePath)
Load basic font with normal size.
Definition fonts.hpp:23