ddt  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules
Classes | Functions
ddtDatavisualisationUtils.hpp File Reference
#include <QtWidgets>

Go to the source code of this file.

Classes

class  InactiveLineEdit
 

Functions

QPolygonF ConstructArrowHead (QLineF const &line, const qreal arrow_size)
 

Function Documentation

◆ ConstructArrowHead()

QPolygonF ConstructArrowHead ( QLineF const &  line,
const qreal  arrow_size 
)

Construct an arrow polygon to be used for drawing the line ends

Parameters
linethe line object
arrowSizethe size of the arrow head
Returns
polygon to be used for drawing the line ends (as arrows)