kformula/flake
NumberElement Class Reference
Implementation of the MathML mn element. More...
#include <NumberElement.h>
Inheritance diagram for NumberElement:

Public Member Functions | |
| NumberElement (BasicElement *parent=0) | |
| ElementType | elementType () const |
| QRectF | renderToPath (const QString &raw, QPainterPath &path) const |
Detailed Description
Implementation of the MathML mn element.
The mn element represents a number and is defined in the section 3.2.4 of the MathML spec. The number element holds the number to be painted as a sequence of TextElement and/or GlyphElements.
Definition at line 33 of file NumberElement.h.
Constructor & Destructor Documentation
| NumberElement::NumberElement | ( | BasicElement * | parent = 0 |
) |
Standart constructor.
Definition at line 26 of file NumberElement.cpp.
Member Function Documentation
| ElementType NumberElement::elementType | ( | ) | const [virtual] |
- Returns:
- The element's ElementType
Reimplemented from BasicElement.
Definition at line 38 of file NumberElement.cpp.
| QRectF NumberElement::renderToPath | ( | const QString & | raw, | |
| QPainterPath & | path | |||
| ) | const [virtual] |
Process raw and render it to path.
Implements TokenElement.
Definition at line 29 of file NumberElement.cpp.
The documentation for this class was generated from the following files:
