AbstractGraph::widgetYindex() const is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXAbstractGraph::widgetYindex() const

AbstractGraph::widgetYindex() const method

@fn CWRUtil::Q5 AbstractGraph::widgetYindex(int index) const; Calculate Widget y coordinate of the index'th point. Calculate widget y coordinate of the index'th point.

Syntax

CWRUtil::Q5 widgetYindex(int index) const;
Implemented in AbstractGraph.cpp:56

Arguments

index

The index.

Return value

The y coordinate in the widget in Q5 format.

References

LocationReferrerScopeText
AbstractGraph.cpp:56
CWRUtil::Q5 AbstractGraph::widgetYindex(int index) const
AbstractGraph.hpp:138
CWRUtil::Q5 widgetYindex(int index) const;
AbstractGraph.cpp:309AbstractGraph::updateAndInvalidateCacheForLinesBetweenIndeces()AbstractGraph
CWRUtil::Q5 dy = (widgetYindex(index + 1) - widgetYindex(index));
AbstractGraph.hpp:442AbstractGraph::yAboveOutgoing() constAbstractGraph
return widgetYindex(index) - points[index].dx;
AbstractGraph.hpp:450AbstractGraph::yBelowOutgoing() constAbstractGraph
return widgetYindex(index) + points[index].dx;
AbstractGraph.hpp:458AbstractGraph::yAboveIncoming() constAbstractGraph
return widgetYindex(index) - points[index - 1].dx;
AbstractGraph.hpp:466AbstractGraph::yBelowIncoming() constAbstractGraph
return widgetYindex(index) + points[index - 1].dx;
GraphBelow.cpp:53GraphBelow::drawCanvasWidget() constGraphBelow
canvas.moveTo(widgetXindex(firstIndex), widgetYindex(firstIndex));
GraphBelow.cpp:56GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(index), widgetYindex(index));
GraphBelow.cpp:72GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int firstY = widgetYindex(firstIndex).to<int>();
GraphBelow.cpp:77GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int y = widgetYindex(index).to<int>();
GraphDots.cpp:64GraphDots::drawCanvasWidget() constGraphDots
circleCenterY = widgetYindex(index);
GraphDots.cpp:80GraphDots::getMinimalRectContainingIndices() constGraphDots
int minY = (widgetYindex(firstIndex) - lineWidth / 2).to<int>();
GraphDots.cpp:81GraphDots::getMinimalRectContainingIndices() constGraphDots
int maxY = (widgetYindex(firstIndex) + lineWidth / 2).to<int>();
GraphDots.cpp:84GraphDots::getMinimalRectContainingIndices() constGraphDots
minY = MIN(minY, (widgetYindex(index) - lineWidth / 2).to<int>());
GraphDots.cpp:85GraphDots::getMinimalRectContainingIndices() constGraphDots
maxY = MAX(maxY, (widgetYindex(index) + lineWidth / 2).to<int>());
GraphLine.cpp:70GraphLine::getMinimalRectContainingIndices() constGraphLine
int minY = (widgetYindex(firstIndex) - lineWidth / 2).to<int>();
GraphLine.cpp:71GraphLine::getMinimalRectContainingIndices() constGraphLine
int maxY = (widgetYindex(firstIndex) + lineWidth / 2).to<int>();
GraphLine.cpp:74GraphLine::getMinimalRectContainingIndices() constGraphLine
minY = MIN(minY, (widgetYindex(index) - lineWidth / 2).to<int>());
GraphLine.cpp:75GraphLine::getMinimalRectContainingIndices() constGraphLine
maxY = MAX(maxY, (widgetYindex(index) + lineWidth / 2).to<int>());

Call Tree