Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::internal_font Class Reference
Inheritance diagram for nana::internal_font:
nana::font_interface

Public Types

using path_type = std::filesystem::path
 
- Public Types inherited from nana::font_interface
using font_style = detail::font_style
 
using native_font_type = paint::native_font_type
 

Public Member Functions

 internal_font (const path_type &ttf, const std::string &font_family, double font_size, const font_style &fs, native_font_type native_font)
 
 ~internal_font ()
 
const std::stringfamily () const override
 
double size () const override
 
const font_stylestyle () const override
 
native_font_type native_handle () const override
 
- Public Member Functions inherited from nana::font_interface
virtual ~font_interface ()=default
 

Member Typedef Documentation

using nana::internal_font::path_type = std::filesystem::path

Constructor & Destructor Documentation

nana::internal_font::internal_font ( const path_type ttf,
const std::string font_family,
double  font_size,
const font_style fs,
native_font_type  native_font 
)
inline
nana::internal_font::~internal_font ( )
inline

Member Function Documentation

const std::string& nana::internal_font::family ( ) const
inlineoverridevirtual

Implements nana::font_interface.

native_font_type nana::internal_font::native_handle ( ) const
inlineoverridevirtual

Implements nana::font_interface.

double nana::internal_font::size ( ) const
inlineoverridevirtual

Implements nana::font_interface.

const font_style& nana::internal_font::style ( ) const
inlineoverridevirtual

Implements nana::font_interface.