22#include "errorelement.h"
24KFORMULA_NAMESPACE_BEGIN
34void ErrorElement::draw( TQPainter& painter, const LuPixelRect& r,
37 ContextStyle::IndexStyle istyle,
38 StyleAttributes& style,
39 const LuPixelPoint& parentOrigin )
41 LuPixelPoint myPos( parentOrigin.x()+getX(), parentOrigin.y()+getY() );
44 context.layoutUnitToPixelY( myPos.y() ),
46 context.layoutUnitToPixelY( getHeight() ),
47 context.getErrorColor() );
48 inherited::draw( painter, r, context, tstyle, istyle, style, parentOrigin );
Basis of every formula element.
Contains all the style information for the formela.
TextStyle Textstyles like in TeX.
int layoutUnitToPixelX(int lupix) const The "layout unit pixel" -> "[zoomed] view pixel" conversions.
The element that contains a number of children.
|