casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Private Member Functions | List of all members
casa::QPArrow Class Reference

Used by the viewer's region shapes, so have it outside the ifdefs in case the flag isn't on. More...

#include <QPShape.h>

Static Public Member Functions

static std::pair< QPointF,
QPointF > 
arrowPoints (QPointF from, QPointF to, double length)
 
static void arrowPoints (double x1, double y1, double x2, double y2, double length, double &resX1, double &resY1, double &resX2, double &resY2)
 

Static Private Member Functions

static std::pair< QPointF,
QPointF > 
arrowPointsHelper (QPointF p1, QPointF p2, double length)
 

Detailed Description

Used by the viewer's region shapes, so have it outside the ifdefs in case the flag isn't on.

Definition at line 759 of file QPShape.h.

Member Function Documentation

static std::pair<QPointF, QPointF> casa::QPArrow::arrowPoints ( QPointF  from,
QPointF  to,
double  length 
)
static
static void casa::QPArrow::arrowPoints ( double  x1,
double  y1,
double  x2,
double  y2,
double  length,
double &  resX1,
double &  resY1,
double &  resX2,
double &  resY2 
)
static
static std::pair<QPointF, QPointF> casa::QPArrow::arrowPointsHelper ( QPointF  p1,
QPointF  p2,
double  length 
)
staticprivate

The documentation for this class was generated from the following file: