12#ifndef QWT_SCALE_CORNER_H
13#define QWT_SCALE_CORNER_H
15#include "qwt_global.h"
16#include "qwt_axis_id.h"
17#include "qwt_scale_draw.h"
55 qreal start = qQNaN();
67 return !qIsNaN(start) || !qIsNaN(end);
72QWT_EXPORT
void cornerAxes(QwtAxisId axisId, QwtAxisId& startAxis, QwtAxisId& endAxis);
82QWT_EXPORT QwtScaleDraw::CornerMiter
miterFlags(
const QwtPlot* plot, QwtAxisId axisId);
92 qreal devicePixelRatio,
int& startExtension,
int& endExtension);
A 2-D plotting widget
Definition qwt_plot.h:100
Helpers for the corners where perpendicular scale backbones meet
Definition qwt_scale_corner.h:50
QWT_EXPORT QwtScaleDraw::CornerMiter miterFlags(const QwtPlot *plot, QwtAxisId axisId)
Compute the corner miter flags for an axis of a plot
Definition qwt_scale_corner.cpp:118
QWT_EXPORT void cornerAxes(QwtAxisId axisId, QwtAxisId &startAxis, QwtAxisId &endAxis)
The perpendicular axes sharing the start/end corner of an axis
Definition qwt_scale_corner.cpp:83
QWT_EXPORT Targets widgetTargetPositions(const QwtPlot *plot, QwtAxisId axisId)
Target positions derived from the axis widgets of the whole plot family
Definition qwt_scale_corner.cpp:149
QWT_EXPORT qreal nearEdgeShift(QwtAxisId axisId)
Logical offset of the near band edge from the scale position
Definition qwt_scale_corner.cpp:104
QWT_EXPORT void widgetExtensions(const QwtPlot *plot, QwtAxisId axisId, qreal devicePixelRatio, int &startExtension, int &endExtension)
Logical pixels an axis widget must reserve at its ends for the miter
Definition qwt_scale_corner.cpp:279
QWT_EXPORT Targets layoutTargetPositions(const QwtPlot *plot, QwtAxisId axisId)
Target positions derived from the plot layout (for QwtPlotRenderer)
Definition qwt_scale_corner.cpp:207
Target positions of the perpendicular backbones at one corner
Definition qwt_scale_corner.h:53
bool isValid() const
Definition qwt_scale_corner.h:65