#include <TPoint.h>
Public Member Functions | |
| TPoint () | |
| TPoint (const QPoint &point) | |
| TPoint (const TPoint &tpoint) | |
| TPoint (float x, float y, const QColor &color) | |
| void | setPointColor (const QColor &c) |
| const QColor & | pointColor () const |
TPoint class, inherit from QPoint F
defines a point with a color in the plane using floating point precision the coordinates can be accessed using the x() and y() functions from QPointF
| TPoint::TPoint | ( | ) |
Default-Constructor
| TPoint::TPoint | ( | const QPoint & | point | ) |
Copy-Construct a new Object TPoint with a given QPoint
| TPoint::TPoint | ( | float | x, |
| float | y, | ||
| const QColor & | color | ||
| ) |
Construct a new Object TPoint with the given coordinates (x, y) and a color.
|
inline |
Returns the color of a Point as QColor
|
inline |
Sets the color of a Point to QColor c
| c | a QColor |
1.8.1.1