OMNeT++ Simulation Library
5.6.1
|
#include <ccanvas.h>
Represents properties of a font.
Public Member Functions | |
Methods. | |
Font () | |
Font (std::string typeface, int pointSize=-1, uint8_t style=FONT_NONE) | |
bool | operator== (const Font &other) const |
std::string | str () const |
Public Attributes | |
Font attributes. | |
std::string | typeface |
Typeface of the font. An empty string means the default font. More... | |
int | pointSize |
Font size in points. A zero or negative value means the default size. More... | |
uint8_t | style |
Font style. Binary OR of FontStyle constants such as FONT_BOLD. More... | |
std::string typeface |
Typeface of the font. An empty string means the default font.
int pointSize |
Font size in points. A zero or negative value means the default size.
uint8_t style |
Font style. Binary OR of FontStyle constants such as FONT_BOLD.