Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Font_ Struct Reference

The Fl_Font_ struct. More...

#include <Fl_Font.h>

List of all members.

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_


Detailed Description

The Fl_Font_ struct.

Definition at line 43 of file Fl_Font.h.


Member Function Documentation

Fl_Font Fl_Font_::bold   const [inline]
 

Return pointer to bold version of this font.

If returned pointer points to this font, bold font cannot be found.

Definition at line 98 of file Fl_Font.h.

int Fl_Font_::encodings const char **&    parray const
 

Get array of font encoding for this font.

Returns number of encodings stored in array.

Note:
XFT does not return any encoding, since fonts are UNICODE mapped.
WIN32 returns charsets, not encodings.
Parameters:
parray  Array pointer for storing encodings, caller MUST NOT free array.

Fl_Font Fl_Font_::italic   const [inline]
 

Return pointer to italic version of this font.

If returned pointer points to this font, italic font cannot be found.

Definition at line 103 of file Fl_Font.h.

const char* Fl_Font_::name int *    attr = 0 const
 

Return the "nice" name, and the attributes.

Parameters:
attr  Font attributes are stored to this, if not NULL

int Fl_Font_::sizes int *&    parray const
 

Get array of font sizes for this font.

Returns number of sizes stored in array.

Parameters:
parray  Array pointer for storing sizes, caller MUST NOT free array.

const char* Fl_Font_::system_name   const [inline]
 

Return the system-specific name, different for each font.

Using this function is not portable!

Definition at line 69 of file Fl_Font.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jul 31 15:33:48 2003 for eFLTK by doxygen1.2.15