Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SwfFont Class Reference

#include </home/clem/local/src/opie/core/multimedia/opieplayer/libflash/font.h>

Inheritance diagram for SwfFont:

Inheritance graph
[legend]
Collaboration diagram for SwfFont:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SwfFont (long id)
 ~SwfFont ()
void setFontShapeTable (Shape *shapes, long n)
void setFontName (char *str)
void setFontLookUpTable (long *lut)
void setFontFlags (FontFlags f)
long getGlyphCode (long index)
long getNbGlyphs ()
ShapegetGlyph (long index)
char * getName ()
FontFlags getFlags ()

Private Attributes

Shapeglyphs
long nbGlyphs
char * name
FontFlags flags
long * lookUpTable
long ascent
long descent
long leading

Constructor & Destructor Documentation

SwfFont::SwfFont long  id  ) 
 

Definition at line 29 of file font.cc.

References flags, glyphs, lookUpTable, name, nbGlyphs, NULL, and setFontName().

SwfFont::~SwfFont  ) 
 

Definition at line 39 of file font.cc.

References glyphs, lookUpTable, and name.


Member Function Documentation

FontFlags SwfFont::getFlags  ) 
 

Definition at line 61 of file font.cc.

References flags.

Shape * SwfFont::getGlyph long  index  ) 
 

Definition at line 73 of file font.cc.

References glyphs, and nbGlyphs.

Referenced by Text::doText().

long SwfFont::getGlyphCode long  index  ) 
 

Definition at line 80 of file font.cc.

References lookUpTable, and nbGlyphs.

Referenced by Text::addTextRecord(), and Text::doText().

char * SwfFont::getName  ) 
 

Reimplemented from Character.

Definition at line 55 of file font.cc.

References name.

long SwfFont::getNbGlyphs  ) 
 

Definition at line 67 of file font.cc.

References nbGlyphs.

Referenced by CInputScript::ParseDefineFontInfo().

void SwfFont::setFontFlags FontFlags  f  ) 
 

Definition at line 49 of file font.cc.

References flags.

Referenced by CInputScript::ParseDefineFont2(), and CInputScript::ParseDefineFontInfo().

void SwfFont::setFontLookUpTable long *  lut  ) 
 

Definition at line 95 of file font.cc.

References lookUpTable.

Referenced by CInputScript::ParseDefineFont2(), and CInputScript::ParseDefineFontInfo().

void SwfFont::setFontName char *  str  ) 
 

Definition at line 87 of file font.cc.

References name.

Referenced by CInputScript::ParseDefineFont2(), CInputScript::ParseDefineFontInfo(), and SwfFont().

void SwfFont::setFontShapeTable Shape shapes,
long  n
 

Definition at line 101 of file font.cc.

References glyphs, and nbGlyphs.

Referenced by CInputScript::ParseDefineFont(), and CInputScript::ParseDefineFont2().


Member Data Documentation

long SwfFont::ascent [private]
 

Definition at line 31 of file font.h.

long SwfFont::descent [private]
 

Definition at line 32 of file font.h.

FontFlags SwfFont::flags [private]
 

Definition at line 27 of file font.h.

Referenced by getFlags(), setFontFlags(), and SwfFont().

Shape* SwfFont::glyphs [private]
 

Definition at line 24 of file font.h.

Referenced by getGlyph(), setFontShapeTable(), SwfFont(), and ~SwfFont().

long SwfFont::leading [private]
 

Definition at line 33 of file font.h.

long* SwfFont::lookUpTable [private]
 

Definition at line 28 of file font.h.

Referenced by getGlyphCode(), setFontLookUpTable(), SwfFont(), and ~SwfFont().

char* SwfFont::name [private]
 

Reimplemented from Character.

Definition at line 26 of file font.h.

Referenced by getName(), setFontName(), SwfFont(), and ~SwfFont().

long SwfFont::nbGlyphs [private]
 

Definition at line 25 of file font.h.

Referenced by getGlyph(), getGlyphCode(), getNbGlyphs(), setFontShapeTable(), and SwfFont().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:52:50 2005 for OPIE by  doxygen 1.4.2