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:49

Arguments

index

The index.

Return value

The y coordinate in the widget in Q5 format.

References

LocationReferrerScopeText
AbstractGraph.cpp:49
CWRUtil::Q5 AbstractGraph::widgetYindex(int index) const
AbstractGraph.hpp:137
CWRUtil::Q5 widgetYindex(int index) const;
AbstractGraph.cpp:293AbstractGraph::updateAndInvalidateCacheForLinesBetweenIndeces()AbstractGraph
CWRUtil::Q5 dy = (widgetYindex(index+1) - widgetYindex(index));
AbstractGraph.hpp:433AbstractGraph::yAboveOutgoing() constAbstractGraph
CWRUtil::Q5 yAboveOutgoing(int index) const { return widgetYindex(index) - points[index].dx; }
AbstractGraph.hpp:435AbstractGraph::yBelowOutgoing() constAbstractGraph
CWRUtil::Q5 yBelowOutgoing(int index) const { return widgetYindex(index) + points[index].dx; }
AbstractGraph.hpp:437AbstractGraph::yAboveIncoming() constAbstractGraph
CWRUtil::Q5 yAboveIncoming(int index) const { return widgetYindex(index) - points[index-1].dx; }
AbstractGraph.hpp:439AbstractGraph::yBelowIncoming() constAbstractGraph
CWRUtil::Q5 yBelowIncoming(int index) const { return widgetYindex(index) + points[index-1].dx; }
GraphBelow.cpp:48GraphBelow::drawCanvasWidget() constGraphBelow
canvas.moveTo(widgetXindex(firstIndex), widgetYindex(firstIndex));
GraphBelow.cpp:51GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(index), widgetYindex(index));
GraphBelow.cpp:67GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int firstY = widgetYindex(firstIndex).to<int>();
GraphBelow.cpp:72GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int y = widgetYindex(index).to<int>();
GraphDots.cpp:63GraphDots::drawCanvasWidget() constGraphDots
circleCenterY = widgetYindex(index);
GraphDots.cpp:79GraphDots::getMinimalRectContainingIndices() constGraphDots
int minY = (widgetYindex(firstIndex) - lineWidth / 2).to<int>();
GraphDots.cpp:80GraphDots::getMinimalRectContainingIndices() constGraphDots
int maxY = (widgetYindex(firstIndex) + lineWidth / 2).to<int>();
GraphDots.cpp:83GraphDots::getMinimalRectContainingIndices() constGraphDots
minY = MIN(minY, (widgetYindex(index) - lineWidth / 2).to<int>());
GraphDots.cpp:84GraphDots::getMinimalRectContainingIndices() constGraphDots
maxY = MAX(maxY, (widgetYindex(index) + lineWidth / 2).to<int>());
GraphLine.cpp:69GraphLine::getMinimalRectContainingIndices() constGraphLine
int minY = (widgetYindex(firstIndex) - lineWidth / 2).to<int>();
GraphLine.cpp:70GraphLine::getMinimalRectContainingIndices() constGraphLine
int maxY = (widgetYindex(firstIndex) + lineWidth / 2).to<int>();
GraphLine.cpp:73GraphLine::getMinimalRectContainingIndices() constGraphLine
minY = MIN(minY, (widgetYindex(index) - lineWidth / 2).to<int>());
GraphLine.cpp:74GraphLine::getMinimalRectContainingIndices() constGraphLine
maxY = MAX(maxY, (widgetYindex(index) + lineWidth / 2).to<int>());

Call Tree