Dillo
Classes | Static Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
dw::fltk::FltkFont Class Reference

#include <fltkplatform.hh>

Classes

class  FontFamily
 

Static Public Member Functions

static FltkFont * create (core::style::FontAttrs *attrs)
 
static bool fontExists (const char *name)
 
static Fl_Font get (const char *name, int attrs)
 
- Static Public Member Functions inherited from dw::core::style::Font
static Font * create (Layout *layout, FontAttrs *attrs)
 
static bool exists (Layout *layout, const char *name)
 

Public Attributes

Fl_Font font
 
- Public Attributes inherited from dw::core::style::Font
int ascent
 
int descent
 
int spaceWidth
 
int xHeight
 
- Public Attributes inherited from dw::core::style::FontAttrs
const char * name
 
int size
 
int weight
 
int letterSpacing
 
FontVariant fontVariant
 
FontStyle style
 

Private Member Functions

 FltkFont (core::style::FontAttrs *attrs)
 
 ~FltkFont ()
 

Static Private Member Functions

static void initSystemFonts ()
 

Static Private Attributes

static FontFamily standardFontFamily
 
static
lout::container::typed::HashTable
< lout::object::ConstString,
FontFamily > * 
systemFonts
 
static
lout::container::typed::HashTable
< dw::core::style::FontAttrs,
FltkFont > * 
fontsTable
 

Additional Inherited Members

- Public Member Functions inherited from dw::core::style::Font
void ref ()
 
void unref ()
 
- Public Member Functions inherited from dw::core::style::FontAttrs
bool equals (lout::object::Object *other)
 Returns, whether two objects are equal. More...
 
int hashValue ()
 Return a hash value for the object. More...
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual Object * clone ()
 Return an exact copy of the object. More...
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 
- Protected Member Functions inherited from dw::core::style::Font
 Font ()
 
virtual ~Font ()
 
void copyAttrs (FontAttrs *attrs)
 

Constructor & Destructor Documentation

dw::fltk::FltkFont::FltkFont ( core::style::FontAttrs *  attrs)
private
dw::fltk::FltkFont::~FltkFont ( )
private

Member Function Documentation

FltkFont * dw::fltk::FltkFont::create ( core::style::FontAttrs *  attrs)
static
bool dw::fltk::FltkFont::fontExists ( const char *  name)
static
Fl_Font dw::fltk::FltkFont::get ( const char *  name,
int  attrs 
)
static
void dw::fltk::FltkFont::initSystemFonts ( )
staticprivate

Member Data Documentation

Fl_Font dw::fltk::FltkFont::font
container::typed::HashTable< dw::core::style::FontAttrs, FltkFont > * dw::fltk::FltkFont::fontsTable
staticprivate
Initial value:
=
new container::typed::HashTable <dw::core::style::FontAttrs,
FltkFont> (false, false)
Todo:
Distinction between italics and oblique would be nice.
FltkFont::FontFamily dw::fltk::FltkFont::standardFontFamily
staticprivate
container::typed::HashTable< lout::object::ConstString, FltkFont::FontFamily > * dw::fltk::FltkFont::systemFonts
staticprivate
Initial value:
=
NULL

The documentation for this class was generated from the following files: