pleyo.com

WKAL::FontPlatformData Class Reference

List of all members.

Public Member Functions

 FontPlatformData (WTF::HashTableDeletedValueType)
 FontPlatformData constructor.
 FontPlatformData ()
 FontPlatformData default constructor.
 FontPlatformData (const FontDescription &, const AtomicString &family)
 FontPlatformData constructor.
 FontPlatformData (float size, bool bold, bool italic)
 FontPlatformData constructor.
 FontPlatformData (BalFontFace *fontFace, int size, bool bold, bool italic)
 FontPlatformData constructor.
 ~FontPlatformData ()
 ~FontPlatformData destructor
bool isFixedPitch ()
 get fixed pitch status
float size () const
 get size
void setFont (BalFont *) const
 set platform font
unsigned hash () const
 hash
bool operator== (const FontPlatformData &) const
 operator==
bool isHashTableDeletedValue () const
 HashTableDeletedValue status.

Static Public Member Functions

static bool init ()
 init platform data

Public Attributes

BalPattern * m_pattern
float m_size
bool m_syntheticBold
bool m_syntheticOblique
BalScaledFont * m_scaledFont


Constructor & Destructor Documentation

WKAL::FontPlatformData::FontPlatformData ( WTF::HashTableDeletedValueType   ) 

FontPlatformData constructor.

Parameters:
[in] : HashTableDeletedValueType
 FontPlatformData *fpd = new FontPlatformData(hashtable);

WKAL::FontPlatformData::FontPlatformData (  ) 

FontPlatformData default constructor.

WKAL::FontPlatformData::FontPlatformData ( const FontDescription ,
const AtomicString &  family 
)

FontPlatformData constructor.

Parameters:
[in] : font description
[in] : family name
 FontPlatformData *fpd = new FontPlatformData(fd, family);

WKAL::FontPlatformData::FontPlatformData ( float  size,
bool  bold,
bool  italic 
)

FontPlatformData constructor.

Parameters:
[in] : size
[in] : bold status
[in] : italic status
 FontPlatformData *fpd = new FontPlatformData(12, false, false);

WKAL::FontPlatformData::FontPlatformData ( BalFontFace fontFace,
int  size,
bool  bold,
bool  italic 
)

FontPlatformData constructor.

Parameters:
[in] : platform font face
[in] : size
[in] : bold status
[in] : italic status
 FontPlatformData *fpd = new FontPlatformData(fontface, 12, false, false);

WKAL::FontPlatformData::~FontPlatformData (  ) 

~FontPlatformData destructor

 delete fontPlatformData;


Member Function Documentation

static bool WKAL::FontPlatformData::init (  )  [static]

init platform data

Parameters:
[out] : true if platform data is correctly initialized
 bool init = fpd->init();

bool WKAL::FontPlatformData::isFixedPitch (  ) 

get fixed pitch status

Parameters:
[out] : status
 bool fixed = fpd->isFixedPitch();

float WKAL::FontPlatformData::size (  )  const

get size

Parameters:
[out] : size
 float s = fpd->size();

void WKAL::FontPlatformData::setFont ( BalFont *   )  const

set platform font

Parameters:
[in] : platform font
 fpd->setFont(balFont);

unsigned WKAL::FontPlatformData::hash (  )  const

hash

Parameters:
[out] : hash result
 unsigned fpd->hash();

bool WKAL::FontPlatformData::operator== ( const FontPlatformData  )  const

operator==

Parameters:
[in] : FontPlatformData
[out] : true if it's equal
 bool e = fpd == fdp2;

bool WKAL::FontPlatformData::isHashTableDeletedValue (  )  const

HashTableDeletedValue status.

Parameters:
[out] : status
 bool s = fpd->isHashTableDeletedValue();


Member Data Documentation


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

Generated on Mon Jun 30 16:22:07 2008 for Origyn Web Browser by Doxygen 1.5.5

pleyo.com
pleyo.com