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

Arguments

index

The index.

Return value

The x coordinate in the widget in Q5 format.

References

LocationReferrerScopeText
AbstractGraph.cpp:51
CWRUtil::Q5 AbstractGraph::widgetXindex(int index) const
AbstractGraph.hpp:125
CWRUtil::Q5 widgetXindex(int index) const;
AbstractGraph.cpp:226AbstractGraph::drawCanvasWidget() constAbstractGraph
invalidatedArea.x > (widgetXindex(firstIndex + 1) + lineWidth / 2).to<int>())
AbstractGraph.cpp:232AbstractGraph::drawCanvasWidget() constAbstractGraph
invalidatedArea.right() < (widgetXindex(lastIndex - 1) - lineWidth / 2).to<int>())
AbstractGraph.cpp:310AbstractGraph::updateAndInvalidateCacheForLinesBetweenIndeces()AbstractGraph
CWRUtil::Q5 dx = (widgetXindex(index + 1) - widgetXindex(index));
AbstractGraph.hpp:438AbstractGraph::xAboveOutgoing() constAbstractGraph
return widgetXindex(index) + points[index].dy;
AbstractGraph.hpp:446AbstractGraph::xBelowOutgoing() constAbstractGraph
return widgetXindex(index) - points[index].dy;
AbstractGraph.hpp:454AbstractGraph::xAboveIncoming() constAbstractGraph
return widgetXindex(index) + points[index - 1].dy;
AbstractGraph.hpp:462AbstractGraph::xBelowIncoming() constAbstractGraph
return widgetXindex(index) - points[index - 1].dy;
GraphBelow.cpp:40GraphBelow::drawCanvasWidget() constGraphBelow
invalidatedArea.x > (widgetXindex(firstIndex + 1) + lineWidth / 2).to<int>())
GraphBelow.cpp:46GraphBelow::drawCanvasWidget() constGraphBelow
invalidatedArea.right() < (widgetXindex(lastIndex - 1) - lineWidth / 2).to<int>())
GraphBelow.cpp:53GraphBelow::drawCanvasWidget() constGraphBelow
canvas.moveTo(widgetXindex(firstIndex), widgetYindex(firstIndex));
GraphBelow.cpp:56GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(index), widgetYindex(index));
GraphBelow.cpp:58GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(lastIndex), widgetY(0));
GraphBelow.cpp:59GraphBelow::drawCanvasWidget() constGraphBelow
canvas.lineTo(widgetXindex(firstIndex), widgetY(0));
GraphBelow.cpp:69GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int minX = widgetXindex(firstIndex).to<int>();
GraphBelow.cpp:70GraphBelow::getMinimalRectContainingIndices() constGraphBelow
int maxX = widgetXindex(lastIndex).to<int>();
GraphDots.cpp:47GraphDots::drawCanvasWidget() constGraphDots
invalidatedArea.x > (widgetXindex(firstIndex + 1) + lineWidth / 2).to<int>())
GraphDots.cpp:53GraphDots::drawCanvasWidget() constGraphDots
invalidatedArea.right() < (widgetXindex(lastIndex - 1) - lineWidth / 2).to<int>())
GraphDots.cpp:63GraphDots::drawCanvasWidget() constGraphDots
circleCenterX = widgetXindex(index);
GraphDots.cpp:78GraphDots::getMinimalRectContainingIndices() constGraphDots
int minX = (widgetXindex(firstIndex) - lineWidth / 2).to<int>();
GraphDots.cpp:79GraphDots::getMinimalRectContainingIndices() constGraphDots
int maxX = (widgetXindex(lastIndex) + lineWidth / 2).to<int>();
GraphLine.cpp:36GraphLine::drawCanvasWidget() constGraphLine
invalidatedArea.x > (widgetXindex(firstIndex + 1) + lineWidth / 2).to<int>())
GraphLine.cpp:42GraphLine::drawCanvasWidget() constGraphLine
invalidatedArea.right() < (widgetXindex(lastIndex - 1) - lineWidth / 2).to<int>())
GraphLine.cpp:68GraphLine::getMinimalRectContainingIndices() constGraphLine
int minX = (widgetXindex(firstIndex) - lineWidth / 2).to<int>();
GraphLine.cpp:69GraphLine::getMinimalRectContainingIndices() constGraphLine
int maxX = (widgetXindex(lastIndex) + lineWidth / 2).to<int>();