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:124
CWRUtil
::
Q5
widgetXindex
(
int
index
)
const
;
Implemented in
AbstractGraph.cpp:44
Arguments
index
The index.
Return value
The x coordinate in the widget in Q5 format.
References
Location
Referrer
Scope
Text
AbstractGraph.cpp:44
CWRUtil
::
Q5
AbstractGraph
::
widgetXindex
(
int
index
)
const
AbstractGraph.hpp:124
CWRUtil
::
Q5
widgetXindex
(
int
index
)
const
;
AbstractGraph.cpp:219
AbstractGraph::drawCanvasWidget() const
AbstractGraph
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
AbstractGraph.cpp:225
AbstractGraph::drawCanvasWidget() const
AbstractGraph
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
AbstractGraph.cpp:294
AbstractGraph::updateAndInvalidateCacheForLinesBetweenIndeces()
AbstractGraph
CWRUtil
::
Q5
dx
=
(
widgetXindex
(
index
+
1
)
-
widgetXindex
(
index
)
)
;
AbstractGraph.hpp:432
AbstractGraph::xAboveOutgoing() const
AbstractGraph
CWRUtil
::
Q5
xAboveOutgoing
(
int
index
)
const
{
return
widgetXindex
(
index
)
+
points
[
index
]
.
dy
;
}
AbstractGraph.hpp:434
AbstractGraph::xBelowOutgoing() const
AbstractGraph
CWRUtil
::
Q5
xBelowOutgoing
(
int
index
)
const
{
return
widgetXindex
(
index
)
-
points
[
index
]
.
dy
;
}
AbstractGraph.hpp:436
AbstractGraph::xAboveIncoming() const
AbstractGraph
CWRUtil
::
Q5
xAboveIncoming
(
int
index
)
const
{
return
widgetXindex
(
index
)
+
points
[
index
-
1
]
.
dy
;
}
AbstractGraph.hpp:438
AbstractGraph::xBelowIncoming() const
AbstractGraph
CWRUtil
::
Q5
xBelowIncoming
(
int
index
)
const
{
return
widgetXindex
(
index
)
-
points
[
index
-
1
]
.
dy
;
}
GraphBelow.cpp:35
GraphBelow::drawCanvasWidget() const
GraphBelow
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphBelow.cpp:41
GraphBelow::drawCanvasWidget() const
GraphBelow
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphBelow.cpp:48
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
moveTo
(
widgetXindex
(
firstIndex
)
,
widgetYindex
(
firstIndex
)
)
;
GraphBelow.cpp:51
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
lineTo
(
widgetXindex
(
index
)
,
widgetYindex
(
index
)
)
;
GraphBelow.cpp:53
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
lineTo
(
widgetXindex
(
lastIndex
)
,
widgetY
(
0
)
)
;
GraphBelow.cpp:54
GraphBelow::drawCanvasWidget() const
GraphBelow
canvas
.
lineTo
(
widgetXindex
(
firstIndex
)
,
widgetY
(
0
)
)
;
GraphBelow.cpp:64
GraphBelow::getMinimalRectContainingIndices() const
GraphBelow
int
minX
=
widgetXindex
(
firstIndex
)
.
to
<
int
>
(
)
;
GraphBelow.cpp:65
GraphBelow::getMinimalRectContainingIndices() const
GraphBelow
int
maxX
=
widgetXindex
(
lastIndex
)
.
to
<
int
>
(
)
;
GraphDots.cpp:46
GraphDots::drawCanvasWidget() const
GraphDots
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphDots.cpp:52
GraphDots::drawCanvasWidget() const
GraphDots
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphDots.cpp:62
GraphDots::drawCanvasWidget() const
GraphDots
circleCenterX
=
widgetXindex
(
index
)
;
GraphDots.cpp:77
GraphDots::getMinimalRectContainingIndices() const
GraphDots
int
minX
=
(
widgetXindex
(
firstIndex
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
;
GraphDots.cpp:78
GraphDots::getMinimalRectContainingIndices() const
GraphDots
int
maxX
=
(
widgetXindex
(
lastIndex
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
;
GraphLine.cpp:35
GraphLine::drawCanvasWidget() const
GraphLine
invalidatedArea
.
x
>
(
widgetXindex
(
firstIndex
+
1
)
+
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphLine.cpp:41
GraphLine::drawCanvasWidget() const
GraphLine
invalidatedArea
.
right
(
)
<
(
widgetXindex
(
lastIndex
-
1
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
)
GraphLine.cpp:67
GraphLine::getMinimalRectContainingIndices() const
GraphLine
int
minX
=
(
widgetXindex
(
firstIndex
)
-
lineWidth
/
2
)
.
to
<
int
>
(
)
;
GraphLine.cpp:68
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::points
AbstractGraph::GraphPoint::x
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