le2d v0.4.7
2D game engine framework
 
Loading...
Searching...
No Matches
le::IFont Class Referenceabstract

Opaque interface for a Font. More...

#include <le2d/resource/font.hpp>

Inheritance diagram for le::IFont:
le::IResource le::IAsset

Public Member Functions

virtual auto load_face (std::vector< std::byte > font_bytes) -> bool=0
 
virtual auto get_name () const -> klib::CString=0
 
virtual auto get_atlas (TextHeight height) -> IFontAtlas &=0
 
- Public Member Functions inherited from le::IResource
virtual auto is_ready () const -> bool=0
 Check if resource is ready to use.
 

Detailed Description

Opaque interface for a Font.

Member Function Documentation

◆ get_atlas()

virtual auto le::IFont::get_atlas ( TextHeight  height) -> IFontAtlas &
pure virtual

◆ get_name()

virtual auto le::IFont::get_name ( ) const -> klib::CString
pure virtual

◆ load_face()

virtual auto le::IFont::load_face ( std::vector< std::byte >  font_bytes) -> bool
pure virtual

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