<platforminterface/point.h> - Point

Provides integer and floating point precision points. 更多...

Header: #include <platforminterface/point.h>

    详细描述

    Qul::PlatformInterface::Point

    使用整数精度定义平面点

    Qul::PlatformInterface::PointF

    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)