C

QSafePoint Struct

struct SafeRenderer::QSafePoint

The QSafePoint class holds the x-coordinate and y-coordinate. More...

Header: #include <QSafePoint>
Since: QtSafeRenderer 1.0

This struct was introduced in QtSafeRenderer 1.0.

Public Functions

QSafePoint(const SafeRenderer::quint32 xArg, const SafeRenderer::quint32 yArg)
QSafePoint()
void setX(const SafeRenderer::quint32 xArg)
void setY(const SafeRenderer::quint32 yArg)
SafeRenderer::quint32 x() const
SafeRenderer::quint32 y() const

Detailed Description

The QSafePoint class holds the x-coordinate and y-coordinate.

Member Function Documentation

QSafePoint::QSafePoint(const SafeRenderer::quint32 xArg, const SafeRenderer::quint32 yArg)

Constructs a safe point object. The x value is set to xArg and the y value is set to yArg.

QSafePoint::QSafePoint()

Constructs a default safe point object. The x-coordinate and y-coordinate values are set to 0.

void QSafePoint::setX(const SafeRenderer::quint32 xArg)

Sets the x-coordinate to xArg.

See also x().

void QSafePoint::setY(const SafeRenderer::quint32 yArg)

Sets the y-coordinate to yArg.

See also y().

SafeRenderer::quint32 QSafePoint::x() const

Returns the x-coordinate value.

See also setX().

SafeRenderer::quint32 QSafePoint::y() const

Returns the y-coordinate value.

See also setY().

Available under certain Qt licenses.
Find out more.