Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
h
k
l
o
p
r
s
t
u
x
z
Enumerator
b
c
d
f
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
3rdparty
qwt
src
qwt_axis.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Qwt Widget Library
3
* Copyright (C) 1997 Josef Wilgen
4
* Copyright (C) 2002 Uwe Rathmann
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the Qwt License, Version 1.0
8
*****************************************************************************/
9
10
#ifndef QWT_AXIS_H
11
#define QWT_AXIS_H
12
13
#include "
qwt_global.h
"
14
18
namespace
QwtAxis
19
{
21
enum
Position
22
{
24
YLeft
,
25
27
YRight
,
28
30
XBottom
,
31
33
XTop
34
};
35
37
enum
{
AxisPositions
=
XTop
+ 1 };
38
39
bool
isValid
(
int
axisPos );
40
bool
isYAxis
(
int
axisPos );
41
bool
isXAxis
(
int
axisPos );
42
}
43
45
inline
bool
QwtAxis::isValid
(
int
axisPos )
46
{
47
return
( axisPos >= 0 && axisPos <
AxisPositions
);
48
}
49
51
inline
bool
QwtAxis::isXAxis
(
int
axisPos )
52
{
53
return
( axisPos ==
XBottom
) || ( axisPos ==
XTop
);
54
}
55
57
inline
bool
QwtAxis::isYAxis
(
int
axisPos )
58
{
59
return
( axisPos ==
YLeft
) || ( axisPos ==
YRight
);
60
}
61
62
#endif
QwtAxis::isYAxis
bool isYAxis(int axisPos)
Definition:
qwt_axis.h:57
QwtAxis::Position
Position
Axis position.
Definition:
qwt_axis.h:28
qwt_global.h
QwtAxis::YLeft
@ YLeft
Y axis left of the canvas.
Definition:
qwt_axis.h:38
QwtAxis::isXAxis
bool isXAxis(int axisPos)
Definition:
qwt_axis.h:51
QwtAxis::AxisPositions
@ AxisPositions
Definition:
qwt_axis.h:44
QwtAxis
Definition:
qwt_axis.h:18
QwtAxis::XTop
@ XTop
X axis above the canvas.
Definition:
qwt_axis.h:47
QwtAxis::isValid
bool isValid(int axisPos)
Definition:
qwt_axis.h:45
QwtAxis::YRight
@ YRight
Y axis right of the canvas.
Definition:
qwt_axis.h:41
QwtAxis::XBottom
@ XBottom
X axis below the canvas.
Definition:
qwt_axis.h:44
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:24