Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QFixedPoint Struct Reference

#include <qfixed_p.h>

Collaboration diagram for QFixedPoint:

Public Member Functions

constexpr QFixedPoint ()
constexpr QFixedPoint (QFixed _x, QFixed _y)
constexpr QPointF toPointF () const
constexpr bool operator== (const QFixedPoint &other) const

Static Public Member Functions

static constexpr QFixedPoint fromPointF (const QPointF &p)

Public Attributes

QFixed x
QFixed y

Detailed Description

Definition at line 161 of file qfixed_p.h.

Constructor & Destructor Documentation

◆ QFixedPoint() [1/2]

QFixedPoint::QFixedPoint ( )
inlineconstexpr

Definition at line 164 of file qfixed_p.h.

◆ QFixedPoint() [2/2]

QFixedPoint::QFixedPoint ( QFixed _x,
QFixed _y )
inlineconstexpr

Definition at line 165 of file qfixed_p.h.

References x, and y.

Referenced by operator+(), and operator-().

Here is the caller graph for this function:

Member Function Documentation

◆ fromPointF()

constexpr QFixedPoint QFixedPoint::fromPointF ( const QPointF & p)
inlinestaticconstexpr

Definition at line 167 of file qfixed_p.h.

◆ operator==()

bool QFixedPoint::operator== ( const QFixedPoint & other) const
inlineconstexpr

Definition at line 170 of file qfixed_p.h.

References x, and y.

◆ toPointF()

QPointF QFixedPoint::toPointF ( ) const
inlineconstexpr

Definition at line 166 of file qfixed_p.h.

References x, and y.

Member Data Documentation

◆ x

QFixed QFixedPoint::x

Definition at line 162 of file qfixed_p.h.

Referenced by QFixedPoint(), operator+(), operator-(), operator==(), and toPointF().

◆ y

QFixed QFixedPoint::y

Definition at line 163 of file qfixed_p.h.

Referenced by QFixedPoint(), operator+(), operator-(), operator==(), and toPointF().


The documentation for this struct was generated from the following file: