Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::base_font Struct Reference

#include <font.h>

Inheritance diagram for unravel::base_font:
unravel::font unravel::scaled_font

Public Member Functions

 base_font ()
 
 ~base_font ()
 
auto get_info () const -> const gfx::font_info &
 
auto get_line_height () const -> float
 
auto is_valid () const -> bool
 

Public Attributes

gfx::font_handle handle {gfx::invalid_handle}
 

Detailed Description

Definition at line 17 of file font.h.

Constructor & Destructor Documentation

◆ base_font()

unravel::base_font::base_font ( )
default

◆ ~base_font()

unravel::base_font::~base_font ( )

Definition at line 825 of file font.cpp.

Member Function Documentation

◆ get_info()

auto unravel::base_font::get_info ( ) const -> const gfx::font_info&

Definition at line 833 of file font.cpp.

◆ get_line_height()

auto unravel::base_font::get_line_height ( ) const -> float

Definition at line 838 of file font.cpp.

◆ is_valid()

auto unravel::base_font::is_valid ( ) const -> bool

Definition at line 844 of file font.cpp.

Member Data Documentation

◆ handle

gfx::font_handle unravel::base_font::handle {gfx::invalid_handle}

Definition at line 26 of file font.h.


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