pleyo.com

BAL::BCFontPlatformDataPrivateFreeType Class Reference

#include <BCFontPlatformDataPrivateFreeType.h>

Inheritance diagram for BAL::BCFontPlatformDataPrivateFreeType:

BAL::BIFontPlatformDataPrivate

List of all members.

Public Member Functions

 BCFontPlatformDataPrivateFreeType ()
 ~BCFontPlatformDataPrivateFreeType ()
virtual int init ()
 This method is used to initialize FreeType and Fontconfig libraries.
virtual bool isFixedPitch ()
 This method determines wether the used font has a fixed pitch or not.
virtual unsigned hash () const
 
Returns:

virtual bool isEqual (const BIFontPlatformDataPrivate *) const
 
Returns:

void configureFontconfig (const FontDescription &fontDescription, const AtomicString &familyName)
 
Parameters:
[in] FontDescription 

void configureFreetype (const FontDescription &fontDescription)
 
Parameters:
[in] FontDescription,: to retrieve font filename path Method used to set m_face attribute

FT_Face ftFace ()
 getter for m_face attribute
FcPattern * fcPattern ()
 getter for m_pattern attribute


Detailed Description

BCFontPlatformDataPrivateFreeType Class which implements BIFontPlatformDataPrivate this is a FreeType based implementation

Constructor & Destructor Documentation

BAL::BCFontPlatformDataPrivateFreeType::BCFontPlatformDataPrivateFreeType (  ) 

BAL::BCFontPlatformDataPrivateFreeType::~BCFontPlatformDataPrivateFreeType (  ) 


Member Function Documentation

int BAL::BCFontPlatformDataPrivateFreeType::init (  )  [virtual]

This method is used to initialize FreeType and Fontconfig libraries.

Returns:
a boolean: true for successful initialization else false

Implements BAL::BIFontPlatformDataPrivate.

bool BAL::BCFontPlatformDataPrivateFreeType::isFixedPitch (  )  [virtual]

This method determines wether the used font has a fixed pitch or not.

Returns:
a boolean: true for fixed pitch font else false

Implements BAL::BIFontPlatformDataPrivate.

unsigned BAL::BCFontPlatformDataPrivateFreeType::hash (  )  const [virtual]

Returns:

Implements BAL::BIFontPlatformDataPrivate.

bool BAL::BCFontPlatformDataPrivateFreeType::isEqual ( const BIFontPlatformDataPrivate other  )  const [virtual]

Returns:

Implements BAL::BIFontPlatformDataPrivate.

void BAL::BCFontPlatformDataPrivateFreeType::configureFontconfig ( const FontDescription fontDescription,
const AtomicString familyName 
)

Parameters:
[in] FontDescription 

Parameters:
[in] AtomicString Method used to set m_pattern attribute

void BAL::BCFontPlatformDataPrivateFreeType::configureFreetype ( const FontDescription fontDescription  ) 

Parameters:
[in] FontDescription,: to retrieve font filename path Method used to set m_face attribute

FT_Face BAL::BCFontPlatformDataPrivateFreeType::ftFace (  )  [inline]

getter for m_face attribute

Returns:
FT_Face: a Freetype font face

FcPattern* BAL::BCFontPlatformDataPrivateFreeType::fcPattern (  )  [inline]

getter for m_pattern attribute

Returns:
FcPattern*


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:19 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com