domain_p.h
27 lines
| 406 B
| text/x-c
|
CLexer
/ src / domain_p.h
Michal Klocek
|
r131 | #ifndef DOMAIN_H_ | ||
#define DOMAIN_H_ | ||||
#include "qchartglobal.h" | ||||
#include <QRect> | ||||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class Domain { | ||||
public: | ||||
Domain(); | ||||
virtual ~Domain(); | ||||
qreal spanX() const; | ||||
qreal spanY() const; | ||||
Michal Klocek
|
r139 | Domain subDomain(const QRectF& rect, qreal maxWidth, qreal maxHeight) const; | ||
Michal Klocek
|
r131 | |||
public: | ||||
qreal m_minX; | ||||
qreal m_maxX; | ||||
qreal m_minY; | ||||
qreal m_maxY; | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif | ||||