JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
FontInterface Class Referenceabstract

Common interface for fonts, used internally by jngl::Font and jngl::OutlinedFont::bake. More...

#include <jngl/FontInterface.hpp>

Public Member Functions

virtual void print (const Mat3 &modelview, std::string_view text) const =0
 
virtual double getTextWidth (std::string_view text) const =0
 
virtual double getLineHeight () const =0
 

Detailed Description

Common interface for fonts, used internally by jngl::Font and jngl::OutlinedFont::bake.

Definition at line 14 of file FontInterface.hpp.


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