1.1.0
|
A wrapper class for fc_font_size. More...
#include <font-size.hpp>
Public Member Functions | |
font_size () | |
font_size (fc_font_size const &fs) | |
Creates a fc::font_size instance from a fc_font_size structure, copying its contents. More... | |
font_size (font_size const &other)=default | |
Default copy-constructor for fc::font_size. More... | |
font_size (float value, enum fc_font_size_type type) | |
Constructs a font size from a value and a type. More... | |
Public Attributes | |
fc_font_size | data |
the actual fc_font_size data. You can and are encouraged to use it directly, if needed. | |
A wrapper class for fc_font_size.
|
inline |
Empty font_size constructor
|
inline |
Creates a fc::font_size instance from a fc_font_size structure, copying its contents.
This constructor exists mainly to provide implicit automatic conversion from fc_font_size to fc::font_size
fs | the fc_font_size value to copy from |
|
default |
Default copy-constructor for fc::font_size.
other | The fc::font_size instance to copy from |
|
inline |
Constructs a font size from a value and a type.
value | The value for the font-size |
type | The type (pt or px) for this instance |