24 #include "KDChartTextArea_p.h"
31 #include <KDABLibFakes>
34 using namespace KDChart;
36 TextArea::Private::Private() :
43 TextArea::Private::~Private()
70 const QRect oldGeometry(
geometry() );
71 if ( oldGeometry != rect )
73 painter.translate( rect.left(), rect.top() );
75 painter.translate( -rect.left(), -rect.top() );
76 if ( oldGeometry != rect )
91 oldGeometry.left() + inner.left(),
92 oldGeometry.top() + inner.top() );
93 const bool needAdjustGeometry = oldGeometry != inner;
94 if ( needAdjustGeometry )
97 if ( needAdjustGeometry )