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
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]

constexpr QFixedPoint::QFixedPoint ( )
inlineconstexpr

Definition at line 164 of file qfixed_p.h.

Referenced by fromPointF().

+ Here is the caller graph for this function:

◆ QFixedPoint() [2/2]

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

Definition at line 165 of file qfixed_p.h.

Member Function Documentation

◆ fromPointF()

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

Definition at line 167 of file qfixed_p.h.

References QFixedPoint(), and QFixed::fromReal().

Referenced by QPainter::drawGlyphRun(), QTextDocumentLayoutPrivate::hitTest(), and QSGTextMaskMaterial::populate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==()

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

Definition at line 170 of file qfixed_p.h.

References other().

+ Here is the call graph for this function:

◆ toPointF()

constexpr QPointF QFixedPoint::toPointF ( ) const
inlineconstexpr

Definition at line 166 of file qfixed_p.h.

Referenced by QFreetypeFace::addBitmapToPath(), QFreetypeFace::addGlyphToPath(), QTextDocumentLayoutPrivate::hitTest(), QTextDocumentLayoutPrivate::hitTest(), and QTextDocumentLayoutPrivate::layoutFlow().

+ Here is the caller graph for this function:

Member Data Documentation

◆ x

◆ y


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