dw::core::style::Font Class Reference

#include <style.hh>

List of all members.

Public Member Functions

void ref ()
void unref ()

Static Public Member Functions

static Fontcreate (Layout *layout, FontAttrs *attrs)
static bool exists (Layout *layout, const char *name)

Public Attributes

int ascent
int descent
int spaceWidth
int xHeight

Protected Member Functions

 Font ()
virtual ~Font ()
void copyAttrs (FontAttrs *attrs)

Static Private Member Functions

static Fontcreate0 (Layout *layout, FontAttrs *attrs, bool tryEverything)

Private Attributes

int refCount


Detailed Description

See also:
dw::core::style

Constructor & Destructor Documentation

dw::core::style::Font::Font (  )  [inline, protected]

References refCount.

dw::core::style::Font::~Font (  )  [protected, virtual]


Member Function Documentation

void dw::core::style::Font::copyAttrs ( FontAttrs attrs  )  [protected]

Font * dw::core::style::Font::create ( Layout layout,
FontAttrs attrs 
) [static]

References create0().

Font * dw::core::style::Font::create0 ( Layout layout,
FontAttrs attrs,
bool  tryEverything 
) [static, private]

References dw::core::Layout::createFont().

Referenced by create().

bool dw::core::style::Font::exists ( Layout layout,
const char *  name 
) [static]

void dw::core::style::Font::ref (  )  [inline]

References refCount.

Referenced by dw::core::style::Style::Style().

void dw::core::style::Font::unref (  )  [inline]

References refCount.

Referenced by dw::core::style::Style::~Style().


Member Data Documentation

Referenced by Font(), ref(), and unref().


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

Generated on Wed Sep 7 02:00:37 2011 for Dillo by  doxygen 1.5.9