Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 ( )

Referenced by QPainterPath::addEllipse(), advanceLastIndexOnEmptyMatch(), QRasterPaintEngine::alphaPenBlt(), arrayLength(), QGraphicsLineItem::boundingRect(), createEllipseNode(), createRectNode(), decayArrayToPointer(), QPainter::drawEllipse(), QPainter::drawEllipse(), fillLine< Clip, LeftToRight >(), fillLine< Clip, RightToLeft >(), fillLine< NoClip, LeftToRight >(), fillLine< NoClip, RightToLeft >(), fillLines(), QX11PaintEnginePrivate::fillPath(), findNearestColor(), QBenchmarkValgrindUtils::getNewestFileName(), QPlaceManagerEngineNokiaV2::icon(), isBypassed(), isHostExcluded(), QPdfDocumentPrivate::mapPageToView(), QPdfDocumentPrivate::mapViewToPage(), QAbstractItemModel::match(), QQuickComboBoxPrivate::match(), QMimeGlobPattern::matchFileName(), QV4::RegExpPrototype::method_match(), QV4::RegExpPrototype::method_replace(), QV4::RegExpPrototype::method_search(), QV4::RegExpPrototype::method_split(), QEdidParser::parse(), QQuickSvgParser::parsePathDataFast(), parsePathDataFast(), parseTracepoint(), QQuickSvgParser::pathArc(), pathArc(), pathArcSegment(), pathArcSegment(), QSvgHandler::processingInstruction(), qDrawPlainRoundedRect(), qDrawPlainRoundedRect(), qFindPSQLVersion(), QStringList::QMutableStringListIterator(), qt_fetch_conical_gradient_template(), qt_fetch_linear_gradient_template(), qt_fetch_radial_gradient_template(), qt_qimageScaleAARGB_down_xy(), qt_qimageScaleAARGBA_down_xy(), removeBraces(), sequenceLength(), QQC2::QCommonStyle::subControlRect(), QCommonStyle::subControlRect(), QWindows11Style::subControlRect(), QSvgVisitorImpl::visitRectNode(), QRegularExpression::wildcardToRegularExpression(), src_gui_util_qvalidator::Wrapper::wrapper2(), and writeRxPattern().

◆ ry()

◆ setX() [1/2]

p setX ( p.x()+ 1)

◆ setX() [2/2]

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

Variable Documentation

◆ dotProduct

◆ oldPosition

◆ 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.