Shirag 0.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Shirag::Text::Font Struct Reference

Struct for advanced versions of the Raylib Font struct. More...

#include <fonts.hpp>

Public Member Functions

constexpr int size () const
 Gets the fontsize.
 
::Font baseFont () const
 
 Font (std::string FilePath)
 Load basic font with normal size.
 
 Font (std::string FilePath, int FontSize)
 Load font size with specified size.
 

Detailed Description

Struct for advanced versions of the Raylib Font struct.

Constructor & Destructor Documentation

◆ Font() [1/2]

Shirag::Text::Font::Font ( std::string  FilePath)
inline

Load basic font with normal size.

◆ Font() [2/2]

Shirag::Text::Font::Font ( std::string  FilePath,
int  FontSize 
)
inline

Load font size with specified size.

Member Function Documentation

◆ baseFont()

::Font Shirag::Text::Font::baseFont ( ) const
inline

◆ size()

constexpr int Shirag::Text::Font::size ( ) const
inlineconstexpr

Gets the fontsize.


The documentation for this struct was generated from the following file: