#include <wx/gdicmn.h>
A wxRealPoint is a useful data structure for graphics operations.
It contains floating point x and y members. See wxPoint for an integer version.
Note that the coordinates stored inside a wxRealPoint object may be negative and that wxRealPoint functions do not perform any check against negative values.
Public Member Functions | |
wxRealPoint () | |
Initializes to zero the x and y members. | |
wxRealPoint (double x, double y) | |
Initializes the point with the given coordinates. | |
Public Attributes | |
double | x |
X coordinate of this point. | |
double | y |
Y coordinate of this point. |
wxRealPoint::wxRealPoint | ( | ) |
Initializes to zero the x and y members.
wxRealPoint::wxRealPoint | ( | double | x, | |
double | y | |||
) |
Initializes the point with the given coordinates.
double wxRealPoint::x |
X coordinate of this point.
double wxRealPoint::y |
Y coordinate of this point.
![]() |
[ top ] |