kformula/flake

GlyphElement Class Reference

Implementation of the MathML mglyph element. More...

#include <GlyphElement.h>

Inheritance diagram for GlyphElement:

List of all members.

Public Member Functions

 GlyphElement (BasicElement *parent=0)
ElementType elementType () const
double getWidth (const AttributeManager *am)
QRectF renderToPath (const QString &raw, QPainterPath &path) const

Detailed Description

Implementation of the MathML mglyph element.

GlyphElement uses the Qt font database classes to load the additional fonts to display its contents.

Definition at line 33 of file GlyphElement.h.


Constructor & Destructor Documentation

GlyphElement::GlyphElement ( BasicElement parent = 0  ) 

The standart constructor.

Definition at line 31 of file GlyphElement.cpp.


Member Function Documentation

ElementType GlyphElement::elementType (  )  const [virtual]
Returns:
The element's ElementType

Reimplemented from BasicElement.

Definition at line 60 of file GlyphElement.cpp.

double GlyphElement::getWidth ( const AttributeManager am  ) 

get width of character, for layouting

QRectF GlyphElement::renderToPath ( const QString raw,
QPainterPath path 
) const [virtual]

Process raw and render it to path.

Implements TokenElement.

Definition at line 34 of file GlyphElement.cpp.


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