TouchGFX
AbstractGraph::widgetXindex() const
is only used within TouchGFX.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
TouchGFX
AbstractGraph::widgetXindex() const
AbstractGraph::widgetXindex() const method
@fn CWRUtil::Q5 AbstractGraph::widgetXindex(int index) const; Calculate Widget x coordinate of the index'th point. Calculate widget x coordinate of the index'th point.
Syntax
from
AbstractGraph.hpp:125
CWRUtil
::
Q5
widgetXindex
(
int
index
)
const
;
Implemented in
AbstractGraph.cpp:51
Arguments
index
The index.
Return value
The x coordinate in the widget in Q5 format.
References
Location
Referrer
Scope
Text
AbstractGraph.cpp:51
CWRUtil
::
Q5
AbstractGraph
::
widgetXindex
(
int
index
)
const
AbstractGraph.hpp:125
CWRUtil
::
Q5
widgetXindex
(
int
index
)
const
;
AbstractGraph.cpp:226
AbstractGraph::drawCanvasWidget() const
AbstractGraph
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
AbstractGraph.cpp:232
AbstractGraph::drawCanvasWidget() const
AbstractGraph
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
AbstractGraph.cpp:310
AbstractGraph::updateAndInvalidateCacheForLinesBetweenIndeces()
AbstractGraph
CWRUtil
::
Q5
dx
=
(
widgetXindex
(
index
+
1
)
-
widgetXindex
(
index
)
)
;
AbstractGraph.hpp:438
AbstractGraph::xAboveOutgoing() const
AbstractGraph
return
widgetXindex
(
index
)
+
points
[
index
]
.
dy
;
AbstractGraph.hpp:446
AbstractGraph::xBelowOutgoing() const
AbstractGraph
return
widgetXindex
(
index
)
-
points
[
index
]
.
dy
;
AbstractGraph.hpp:454
AbstractGraph::xAboveIncoming() const
AbstractGraph
return
widgetXindex
(
index
)
+
points
[
index
-
1
]
.
dy
;
AbstractGraph.hpp:462
AbstractGraph::xBelowIncoming() const
AbstractGraph
return
widgetXindex
(
index
)
-
points
[
index
-
1
]
.
dy
;
GraphBelow.cpp:40
GraphBelow::drawCanvasWidget() const
GraphBelow
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphBelow.cpp:46
GraphBelow::drawCanvasWidget() const
GraphBelow
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphBelow.cpp:53
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
moveTo
(
widgetXindex
(
firstIndex
)
,
widgetYindex
(
firstIndex
)
)
;
GraphBelow.cpp:56
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
lineTo
(
widgetXindex
(
index
)
,
widgetYindex
(
index
)
)
;
GraphBelow.cpp:58
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
lineTo
(
widgetXindex
(
lastIndex
)
,
widgetY
(
0
)
)
;
GraphBelow.cpp:59
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
lineTo
(
widgetXindex
(
firstIndex
)
,
widgetY
(
0
)
)
;
GraphBelow.cpp:69
GraphBelow::getMinimalRectContainingIndices() const
GraphBelow
int
minX
=
widgetXindex
(
firstIndex
)
.
to
<
int
>
(
)
;
GraphBelow.cpp:70
GraphBelow::getMinimalRectContainingIndices() const
GraphBelow
int
maxX
=
widgetXindex
(
lastIndex
)
.
to
<
int
>
(
)
;
GraphDots.cpp:47
GraphDots::drawCanvasWidget() const
GraphDots
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphDots.cpp:53
GraphDots::drawCanvasWidget() const
GraphDots
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphDots.cpp:63
GraphDots::drawCanvasWidget() const
GraphDots
circleCenterX
=
widgetXindex
(
index
)
;
GraphDots.cpp:78
GraphDots::getMinimalRectContainingIndices() const
GraphDots
int
minX
=
(
widgetXindex
(
firstIndex
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
;
GraphDots.cpp:79
GraphDots::getMinimalRectContainingIndices() const
GraphDots
int
maxX
=
(
widgetXindex
(
lastIndex
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
;
GraphLine.cpp:36
GraphLine::drawCanvasWidget() const
GraphLine
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphLine.cpp:42
GraphLine::drawCanvasWidget() const
GraphLine
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphLine.cpp:68
GraphLine::getMinimalRectContainingIndices() const
GraphLine
int
minX
=
(
widgetXindex
(
firstIndex
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
;
GraphLine.cpp:69
GraphLine::getMinimalRectContainingIndices() const
GraphLine
int
maxX
=
(
widgetXindex
(
lastIndex
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
;
Call Tree
Functions calling
AbstractGraph::widgetXindex() const
Functions called by
AbstractGraph::widgetXindex() const
AbstractGraph::drawCanvasWidget() const
AbstractGraph::updateAndInvalidateCacheForLinesBetweenIndeces()
AbstractGraph::xAboveOutgoing() const
AbstractGraph::xBelowOutgoing() const
AbstractGraph::xAboveIncoming() const
AbstractGraph::xBelowIncoming() const
GraphBelow::drawCanvasWidget() const
GraphBelow::getMinimalRectContainingIndices() const
GraphDots::drawCanvasWidget() const
GraphDots::getMinimalRectContainingIndices() const
GraphLine::drawCanvasWidget() const
GraphLine::getMinimalRectContainingIndices() const
all items filtered out
AbstractGraph::widgetXindex() const
touchgfx::CWRUtil::Q5::Q5()
AbstractGraph::widgetX() const
all items filtered out
Data read by
AbstractGraph::widgetXindex() const
AbstractGraph::GraphPoint::x
AbstractGraph::points
AbstractGraph::widgetXindex() const::index
all items filtered out
AbstractGraph::widgetXindex() const
Type of
AbstractGraph::widgetXindex() const
AbstractGraph::widgetXindex() const
touchgfx::CWRUtil::Q5
all items filtered out