#include "QtxRubberBand.h"
#include <QBitmap>
#include <QImage>
#include <QPaintEvent>
#include <QPainter>
#include <QPalette>
#include <QShowEvent>
#include <QVectorIterator>
#include <math.h>
Functions | |
QRegion | createRegion (const QPointF &p1, const QPointF &p2) |
QPoint | rotatePoint (const QPoint &theStart, const QPoint &theCenter, double theAngle) |
Variables | |
static double | m_pi = 4 * atan(1) |
static double | angle_deg = 360. / 30 |
static double | angle_rad = angle_deg * (m_pi / 180.) |
QRegion createRegion | ( | const QPointF & | p1, |
const QPointF & | p2 | ||
) |
QPoint rotatePoint | ( | const QPoint & | theStart, |
const QPoint & | theCenter, | ||
double | theAngle | ||
) |
|
static |
|
static |