Small helper class to make sure the pango font object is destroyed properly. More...
#include <font.hpp>
Public Member Functions | |
p_font (const std::string &name, const unsigned size, font::pango_text::FONT_STYLE style) | |
p_font (const p_font &)=delete | |
p_font & | operator= (const p_font &)=delete |
~p_font () | |
PangoFontDescription * | get () |
Private Attributes | |
PangoFontDescription * | font_ |
Small helper class to make sure the pango font object is destroyed properly.
|
inline |
Definition at line 27 of file font.hpp.
References font_, utf8::size(), font::pango_text::STYLE_BOLD, font::pango_text::STYLE_ITALIC, font::pango_text::STYLE_NORMAL, and font::pango_text::STYLE_UNDERLINE.
|
delete |
|
inline |
|
private |