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
src_corelib_tools_qpoint.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Functions

p setX (p.x()+1)
 
p rx ()++
 
QPoint p (1, 2)
 [0]
 
p ry ()++
 
QPoint p (3, 7)
 [2]
 
QPoint p (-1, 4)
 [4]
 
QPoint p (-3, 10)
 [16]
 
p setX (p.x()+1.0)
 
QPointF p (1.1, 2.5)
 [9]
 
QPointF p (3.1, 7.1)
 [11]
 
QPointF q (-1.0, 4.1)
 
QPointF p (-1.1, 4.1)
 [13]
 
p *QPointF p (-2.75, 10.25)
 [14]
 

Variables

QPoint p = QPoint(1, 0)
 [0]
 
QPoint q (-1, 4)
 
int dotProduct = QPoint::dotProduct(p, q)
 
QPoint oldPosition
 [6]
 
double trueLength = std::sqrt(std::pow(x(), 2) + std::pow(y(), 2))
 [7]
 

Function Documentation

◆ p() [1/8]

QPoint p ( - 1,
4  )

[4]

[5]

◆ p() [2/8]

QPointF p ( -1. 1,
4. 1 )

[13]

[14]

◆ p() [3/8]

p *QPointF p ( -2. 75,
10. 25 )

[14]

[15]

◆ p() [4/8]

QPoint p ( - 3,
10  )

[16]

[6]

◆ p() [5/8]

QPoint p ( 1 ,
2  )

[0]

[1]

[2]

◆ p() [6/8]

QPointF p ( 1. 1,
2. 5 )

[9]

[10]

[11]

◆ p() [7/8]

QPoint p ( 3 ,
7  )

[2]

[5]

[3]

[4]

[16]

◆ p() [8/8]

QPointF p ( 3. 1,
7. 1 )

[11]

[15]

[12]

[13]

[17]

◆ q()

QPointF q ( -1. 0,
4. 1 )

◆ rx()

p rx ( )

◆ ry()

p ry ( )

◆ setX() [1/2]

p setX ( p.x()+ 1)

◆ setX() [2/2]

p setX ( p.x()+1. 0)

Variable Documentation

◆ dotProduct

qreal dotProduct = QPoint::dotProduct(p, q)

Definition at line 48 of file src_corelib_tools_qpoint.cpp.

◆ oldPosition

QPoint oldPosition

[6]

[7]

Definition at line 59 of file src_corelib_tools_qpoint.cpp.

◆ p

QPointF p(3.1, 7.1) = QPoint(1, 0)

[0]

[15]

[8]

[16]

[1]

[2]

[3]

[4]

[5]

[6]

[9]

[10]

[11]

[12]

[13]

[14]

[17]

Definition at line 5 of file src_corelib_tools_qpoint.cpp.

◆ q

QPointF q(-1.0, 4.1) ( - 1,
4  )

◆ trueLength

double trueLength = std::sqrt(std::pow(x(), 2) + std::pow(y(), 2))

[7]

[8]

Definition at line 71 of file src_corelib_tools_qpoint.cpp.