GraphLine is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

GraphLine class

@class GraphLine GraphLine.hpp gui/common/GraphLine.hpp Simple widget capable of drawing a graph line. The graph line consists of a number of points with different x values. Points on the graph can be added and removed and the coordinate system of the graph can easily be setup. @see CanvasWidget

Syntax

class GraphLine : public AbstractGraph { public:     virtual bool drawCanvasWidget(const Rect& invalidatedArea) const; protected:     virtual Rect getMinimalRectContainingIndices(int firstIndex, int lastIndex) const; };

Methods

drawCanvasWidget() const

@fn virtual bool GraphLine::drawCanvasWidget(const Rect& invalidatedArea) const; Draw the graph line. Draw the graph line. Care is taken not to spend time drawing graph lines that are outside the invalidated area. Read more...

getMinimalRectContainingIndices() const

@fn virtual Rect GraphLine::getMinimalRectContainingIndices(int firstIndex, int lastIndex) const; Gets minimal rectangle containing line between the given indices. Gets minimal rectangle containing line between the given indices. Line width is taken into account to get the right rectangle. Read more...

Class Tree

Parent classes
Child classes
all items filtered out
GraphLine
all items filtered out
Variables of GraphLine type
all items filtered out
GraphLine