Main Page
Related Pages
+
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
g
i
l
m
o
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
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
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
+
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
+
Variables
_
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
+
Enumerations
a
b
c
d
e
f
h
i
k
l
n
o
r
t
u
v
x
+
Enumerator
b
c
d
e
f
h
i
k
l
m
n
o
p
r
t
u
v
w
x
+
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_pixel_matrix.cpp
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
#include "
qwt_pixel_matrix.h
"
11
17
QwtPixelMatrix::QwtPixelMatrix
(
const
QRect& rect )
18
: QBitArray( qMax( rect.width() * rect.height(), 0 ) )
19
, m_rect( rect )
20
{
21
}
22
24
QwtPixelMatrix::~QwtPixelMatrix
()
25
{
26
}
27
35
void
QwtPixelMatrix::setRect
(
const
QRect&
rect
)
36
{
37
if
( rect !=
m_rect
)
38
{
39
m_rect
=
rect
;
40
const
int
sz = qMax( rect.width() * rect.height(), 0 );
41
resize( sz );
42
}
43
44
fill
(
false
);
45
}
46
48
QRect
QwtPixelMatrix::rect
()
const
49
{
50
return
m_rect
;
51
}
QwtPixelMatrix::QwtPixelMatrix
QwtPixelMatrix(const QRect &rect)
Constructor.
Definition:
qwt_pixel_matrix.cpp:17
fill
FMT_NOINLINE FMT_CONSTEXPR auto fill(OutputIt it, size_t n, const fill_t< Char > &fill) -> OutputIt
Definition:
format.h:1262
QwtPixelMatrix::setRect
void setRect(const QRect &rect)
Definition:
qwt_pixel_matrix.cpp:35
qwt_pixel_matrix.h
QwtPixelMatrix::rect
QRect rect() const
Definition:
qwt_pixel_matrix.cpp:48
QwtPixelMatrix::~QwtPixelMatrix
~QwtPixelMatrix()
Destructor.
Definition:
qwt_pixel_matrix.cpp:24
QwtPixelMatrix::m_rect
QRect m_rect
Definition:
qwt_pixel_matrix.h:39
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38