kformula/flake

EncloseElement Class Reference

Implementation of the MathML menclose element. More...

#include <EncloseElement.h>

Inheritance diagram for EncloseElement:

List of all members.

Public Member Functions

 EncloseElement (BasicElement *parent=0)
ElementType elementType () const
void layout (const AttributeManager *am)
virtual void paint (QPainter &painter, AttributeManager *am)

Detailed Description

Implementation of the MathML menclose element.

Definition at line 30 of file EncloseElement.h.


Constructor & Destructor Documentation

EncloseElement::EncloseElement ( BasicElement parent = 0  ) 

The standart constructor.

Definition at line 25 of file EncloseElement.cpp.


Member Function Documentation

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

Reimplemented from RowElement.

Definition at line 93 of file EncloseElement.cpp.

void EncloseElement::layout ( const AttributeManager am  )  [virtual]

Calculate the size of the element and the positions of its children.

Parameters:
am The AttributeManager providing information about attributes values

Reimplemented from RowElement.

Definition at line 39 of file EncloseElement.cpp.

void EncloseElement::paint ( QPainter painter,
AttributeManager am 
) [virtual]

Render the element to the given QPainter.

Parameters:
painter The QPainter to paint the element to
am AttributeManager containing style info

Reimplemented from RowElement.

Definition at line 29 of file EncloseElement.cpp.


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