AbstractGraph::widgetXindex() const is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXAbstractGraph::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

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

LocationReferrerScopeText
AbstractGraph.cpp:44
CWRUtil::Q5 AbstractGraph::widgetXindex(int index) const
AbstractGraph.hpp:124
CWRUtil::Q5 widgetXindex(int index) const;
AbstractGraph.cpp:219AbstractGraph::drawCanvasWidget() constAbstractGraph
invalidatedArea.x > (widgetXindex(firstIndex+1) + lineWidth/2).to<int>())
AbstractGraph.cpp:225AbstractGraph::drawCanvasWidget() constAbstractGraph
invalidatedArea.right() < (widgetXindex(lastIndex-1) - lineWidth/2).to<int>())
AbstractGraph.cpp:294AbstractGraph::updateAndInvalidateCacheForLinesBetweenIndeces()AbstractGraph
CWRUtil::Q5 dx = (widgetXindex(index+1) - widgetXindex(index));
AbstractGraph.hpp:432AbstractGraph::xAboveOutgoing() constAbstractGraph
CWRUtil::Q5 xAboveOutgoing(int index) const { return widgetXindex(index) + points[index].dy; }
AbstractGraph.hpp:434AbstractGraph::xBelowOutgoing() constAbstractGraph
CWRUtil::Q5 xBelowOutgoing(int index) const { return widgetXindex(index) - points[index].dy; }
AbstractGraph.hpp:436AbstractGraph::xAboveIncoming() constAbstractGraph
CWRUtil::Q5 xAboveIncoming(int index) const { return widgetXindex(index) + points[index-1].dy; }
AbstractGraph.hpp:438AbstractGraph::xBelowIncoming() constAbstractGraph
CWRUtil::Q5 xBelowIncoming(int index) const { return widgetXindex(index) - points[index-1].dy; }
GraphBelow.cpp:35GraphBelow::drawCanvasWidget() constGraphBelow
invalidatedArea.x > (widgetXindex(firstIndex+1) + lineWidth/2).to<int>())
GraphBelow.cpp:41GraphBelow::drawCanvasWidget() constGraphBelow
invalidatedArea.right() < (widgetXindex(lastIndex-1) - lineWidth/2).to<int>())
GraphBelow.cpp:48GraphBelow::drawCanvasWidget() constGraphBelow
canvas.moveTo(widgetXindex(firstIndex), widgetYindex(firstIndex));
GraphBelow.cpp:51GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(index), widgetYindex(index));
GraphBelow.cpp:53GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(lastIndex), widgetY(0));
GraphBelow.cpp:54GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(firstIndex), widgetY(0));
GraphBelow.cpp:64GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int minX = widgetXindex(firstIndex).to<int>();
GraphBelow.cpp:65GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int maxX = widgetXindex(lastIndex).to<int>();
GraphDots.cpp:46GraphDots::drawCanvasWidget() constGraphDots
invalidatedArea.x > (widgetXindex(firstIndex+1) + lineWidth/2).to<int>())
GraphDots.cpp:52GraphDots::drawCanvasWidget() constGraphDots
invalidatedArea.right() < (widgetXindex(lastIndex-1) - lineWidth/2).to<int>())
GraphDots.cpp:62GraphDots::drawCanvasWidget() constGraphDots
circleCenterX = widgetXindex(index);
GraphDots.cpp:77GraphDots::getMinimalRectContainingIndices() constGraphDots
int minX = (widgetXindex(firstIndex) - lineWidth / 2).to<int>();
GraphDots.cpp:78GraphDots::getMinimalRectContainingIndices() constGraphDots
int maxX = (widgetXindex(lastIndex) + lineWidth / 2).to<int>();
GraphLine.cpp:35GraphLine::drawCanvasWidget() constGraphLine
invalidatedArea.x > (widgetXindex(firstIndex+1) + lineWidth/2).to<int>())
GraphLine.cpp:41GraphLine::drawCanvasWidget() constGraphLine
invalidatedArea.right() < (widgetXindex(lastIndex-1) - lineWidth/2).to<int>())
GraphLine.cpp:67GraphLine::getMinimalRectContainingIndices() constGraphLine
int minX = (widgetXindex(firstIndex) - lineWidth / 2).to<int>();
GraphLine.cpp:68GraphLine::getMinimalRectContainingIndices() constGraphLine
int maxX = (widgetXindex(lastIndex) + lineWidth / 2).to<int>();