KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartPaintContext.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Chart library.
4**
5** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#ifndef PAINTCONTEXT_H
12#define PAINTCONTEXT_H
13
14#include "KDChartGlobal.h"
15#include <QRectF>
16
17QT_BEGIN_NAMESPACE
18class QPainter;
19QT_END_NAMESPACE
20
21namespace KDChart {
22
23class AbstractCoordinatePlane;
24
29class KDCHART_EXPORT PaintContext
30{
31public:
34
35 const QRectF rectangle() const;
36 void setRectangle(const QRectF &rect);
37
38 QPainter *painter() const;
39 void setPainter(QPainter *painter);
40
41 AbstractCoordinatePlane *coordinatePlane() const;
42 void setCoordinatePlane(AbstractCoordinatePlane *plane);
43
44private:
45 class Private;
46 Private *_d;
47 Private *d_func()
48 {
49 return _d;
50 }
51 const Private *d_func() const
52 {
53 return _d;
54 }
55};
56}
57
58#endif /* PAINTCONTEXT_H */
Contains KDChart macros.
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane,...
Stores information about painting diagrams.

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Thu Apr 11 2024 00:04:50 for KD Chart API Documentation by doxygen 1.9.8