Nana C++ Library. Reference for users.
What we need to use nana
|
Public Types | |
using | font = font_interface |
using | path_type = ::std::filesystem::path |
Public Member Functions | |
static::std::shared_ptr< font > | default_font (const ::std::shared_ptr< font > &) |
static::std::shared_ptr< font > | make_font (const ::std::string &font_family, double size_pt, const font::font_style &fs) |
static::std::shared_ptr< font > | make_font_from_ttf (const path_type &ttf, double size_pt, const font::font_style &fs) |
Static Public Member Functions | |
static void | initialize () |
static void | shutdown () |
Shutdown before destruction of platform_spec. More... | |
static double | font_default_pt () |
static void | font_languages (const std::string &) |
static void | font_resource (bool try_add, const path_type &ttf) |
static unsigned | screen_dpi (bool x_requested) |
using nana::platform_abstraction::path_type = ::std::filesystem::path |
std::shared_ptr< platform_abstraction::font > nana::platform_abstraction::default_font | ( | const ::std::shared_ptr< font > & | new_font | ) |
|
static |
|
static |
|
static |
|
static |
std::shared_ptr< platform_abstraction::font > nana::platform_abstraction::make_font | ( | const ::std::string & | font_family, |
double | size_pt, | ||
const font::font_style & | fs | ||
) |
std::shared_ptr< platform_abstraction::font > nana::platform_abstraction::make_font_from_ttf | ( | const path_type & | ttf, |
double | size_pt, | ||
const font::font_style & | fs | ||
) |
|
static |
|
static |
Shutdown before destruction of platform_spec.