ddt  0.1
Functions
ddtDatavisualisationUtils.cpp File Reference
#include "ddt/ddtDatavisualisationUtils.hpp"
#include <QtWidgets>

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)