71 DiscardBackground = 0x01,
80 DiscardCanvasBackground = 0x08,
87 DiscardCanvasFrame = 0x20
91 Q_DECLARE_FLAGS(DiscardFlags, DiscardFlag)
101 DefaultLayout = 0x00,
104 FrameWithScales = 0x01
107 Q_DECLARE_FLAGS(LayoutFlags, LayoutFlag)
115 void setDiscardFlag(DiscardFlag flag,
bool on =
true);
117 bool testDiscardFlag(DiscardFlag flag)
const;
120 void setDiscardFlags(DiscardFlags flags);
122 DiscardFlags discardFlags()
const;
125 void setLayoutFlag(LayoutFlag flag,
bool on =
true);
127 bool testLayoutFlag(LayoutFlag flag)
const;
130 void setLayoutFlags(LayoutFlags flags);
132 LayoutFlags layoutFlags()
const;
135 void renderDocument(
QwtPlot*,
const QString& fileName,
const QSizeF& sizeMM,
int resolution = 85);
138 void renderDocument(
QwtPlot*,
const QString& fileName,
const QString& format,
const QSizeF& sizeMM,
int resolution = 85);
143 void renderTo(
QwtPlot*, QSvgGenerator&)
const;
149 void renderTo(
QwtPlot*, QPrinter&)
const;
153 void renderTo(
QwtPlot*, QPaintDevice&)
const;
156 virtual void render(
QwtPlot*, QPainter*,
const QRectF& plotRect)
const;
159 virtual void renderTitle(
const QwtPlot*, QPainter*,
const QRectF& titleRect)
const;
162 virtual void renderFooter(
const QwtPlot*, QPainter*,
const QRectF& footerRect)
const;
166 renderScale(
const QwtPlot*, QPainter*, QwtAxisId,
int startDist,
int endDist,
int baseDist,
const QRectF& scaleRect)
const;
169 virtual void renderCanvas(
const QwtPlot*, QPainter*,
const QRectF& canvasRect,
const QwtScaleMap* maps)
const;
172 virtual void renderLegend(
const QwtPlot*, QPainter*,
const QRectF& legendRect)
const;
175 bool exportTo(
QwtPlot*,
const QString& documentName,
const QSizeF& sizeMM = QSizeF(300, 200),
int resolution = 85);
Renderer for exporting a plot to a document, a printer or anything else, that is supported by QPainte...
Definition qwt_plot_renderer.h:57