KD Chart API Documentation  3.1
KDChartPrintingParameters.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 PRINTINGPARAMETERS_H
12 #define PRINTINGPARAMETERS_H
13 
14 #include <QDebug>
15 #include <QPen>
16 
17 //
18 // W A R N I N G
19 // -------------
20 //
21 // This file is not part of the KD Chart API. It exists purely as an
22 // implementation detail. This header file may change from version to
23 // version without notice, or even be removed.
24 //
25 // We mean it.
26 //
27 
28 namespace KDChart {
35 {
36 public:
37  static void setScaleFactor(const qreal scaleFactor);
38  static void resetScaleFactor();
39  static QPen scalePen(const QPen &pen);
40 
41 private:
43  static PrintingParameters *instance();
44 
45  qreal scaleFactor = 1.0;
46 };
47 }
48 
49 #endif
static void setScaleFactor(const qreal scaleFactor)
static QPen scalePen(const QPen &pen)

© 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 by doxygen 1.9.1