<platforminterface/point.h> - Point

Provides integer and floating point precision points. More...

Header: #include <platforminterface/point.h>

Detailed Description



Defines a point in the plane using integer precision


Defines a point in the plane using floating point precision. A point is specified by a x coordinate and an y coordinate which can be accessed using the x() and y() functions. The coordinates of the point are specified using floating point numbers for accuracy. The isNull() function returns true if both x and y are set to 0.0. The coordinates can be set (or altered) using the setX() and setY() functions, or alternatively the rx() and ry() functions which return references to the coordinates (allowing direct manipulation)

Available under certain Qt licenses.
Find out more.