13 #include "qwt_global.h"
37 enum { AxisPositions =
XTop + 1 };
47 return ( axisPos >= 0 && axisPos < AxisPositions );
53 return ( axisPos ==
XBottom ) || ( axisPos ==
XTop );
59 return ( axisPos ==
YLeft ) || ( axisPos ==
YRight );
bool isYAxis(int axisPos)
@ YRight
Y axis right of the canvas.
@ XTop
X axis above the canvas.
@ XBottom
X axis below the canvas.
@ YLeft
Y axis left of the canvas.
bool isValid(int axisPos)
bool isXAxis(int axisPos)