Nana C++ Library. Reference for users.
What we need to use nana
|
Classes | |
struct | impl_type |
Public Types | |
using | path_type = ::std::filesystem::path |
using | font_style = ::nana::detail::font_style |
Public Member Functions | |
font () | |
font (drawable_type) | |
font (const font &) | |
font (const ::std::string &name, double size_pt, const font_style &fs={}) | |
font (double size_pt, const path_type &truetype, const font_style &fs={}) | |
~font () | |
bool | empty () const |
void | set_default () const |
::std::string | name () const |
double | size (bool fixed=false) const |
Returns font size, in point. More... | |
bool | bold () const |
unsigned | weight () const |
bool | italic () const |
native_font_type | handle () const |
void | release () |
bool | strikeout () const |
bool | underline () const |
font & | operator= (const font &) |
bool | operator== (const font &) const |
bool | operator!= (const font &) const |
Friends | |
class | graphics |
using nana::paint::font::path_type = ::std::filesystem::path |
nana::paint::font::font | ( | ) |
nana::paint::font::font | ( | drawable_type | dw | ) |
nana::paint::font::font | ( | const font & | rhs | ) |
nana::paint::font::font | ( | const ::std::string & | name, |
double | size_pt, | ||
const font_style & | fs = {} |
||
) |
nana::paint::font::font | ( | double | size_pt, |
const path_type & | truetype, | ||
const font_style & | fs = {} |
||
) |
nana::paint::font::~font | ( | ) |
bool nana::paint::font::bold | ( | ) | const |
bool nana::paint::font::empty | ( | ) | const |
native_font_type nana::paint::font::handle | ( | ) | const |
bool nana::paint::font::italic | ( | ) | const |
std::string nana::paint::font::name | ( | ) | const |
bool nana::paint::font::operator!= | ( | const font & | rhs | ) | const |
bool nana::paint::font::operator== | ( | const font & | rhs | ) | const |
void nana::paint::font::release | ( | ) |
void nana::paint::font::set_default | ( | ) | const |
double nana::paint::font::size | ( | bool | fixed = false | ) | const |
Returns font size, in point.
fixed | Indicates whether to return a fixed font size. If this parameter is false, the method may return zero for default system font size. If the parameter is true, the method returns a fixed size of default font size if the font size that assigned by constructor is zero. |
bool nana::paint::font::strikeout | ( | ) | const |
bool nana::paint::font::underline | ( | ) | const |
unsigned nana::paint::font::weight | ( | ) | const |
|
friend |