#include <Fl_Font.h>
Public Methods | |
uint | cache_xlist () |
Fl_FontSize * | load_font (float size) |
const char * | system_name () const |
Return the system-specific name, different for each font. More... | |
const char * | name (int *attr=0) const |
Return the "nice" name, and the attributes. More... | |
int | sizes (int *&parray) const |
Get array of font sizes for this font. More... | |
int | encodings (const char **&parray) const |
Get array of font encoding for this font. More... | |
Fl_Font | bold () const |
Return pointer to bold version of this font. More... | |
Fl_Font | italic () const |
Return pointer to italic version of this font. More... | |
Public Attributes | |
const char * | name_ |
Fl_Font_ * | bold_ |
Fl_Font_ * | italic_ |
Fl_FontSize * | first |
char ** | xlist_ |
int | xlist_n_ |
Definition at line 43 of file Fl_Font.h.
|
Return pointer to bold version of this font. If returned pointer points to this font, bold font cannot be found. |
|
Get array of font encoding for this font. Returns number of encodings stored in array.
|
|
Return pointer to italic version of this font. If returned pointer points to this font, italic font cannot be found. |
|
Return the "nice" name, and the attributes.
|
|
Get array of font sizes for this font. Returns number of sizes stored in array.
|
|
Return the system-specific name, different for each font. Using this function is not portable! |