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
QOpenVGMatrix Class Reference

#include <qopenvgmatrix.h>

+ Collaboration diagram for QOpenVGMatrix:

Public Member Functions

 QOpenVGMatrix ()
 
 QOpenVGMatrix (const float *values)
 
const float & operator() (int row, int column) const
 
float & operator() (int row, int column)
 
bool isIdentity () const
 
void setToIdentity ()
 
bool isAffine () const
 
QPointF map (const QPointF &point) const
 
void fill (float value)
 
QOpenVGMatrix transposed () const
 
QOpenVGMatrixoperator+= (const QOpenVGMatrix &other)
 
QOpenVGMatrixoperator-= (const QOpenVGMatrix &other)
 
QOpenVGMatrixoperator*= (const QOpenVGMatrix &other)
 
QOpenVGMatrixoperator*= (float factor)
 
QOpenVGMatrixoperator/= (float divisor)
 
bool operator== (const QOpenVGMatrix &other) const
 
bool operator!= (const QOpenVGMatrix &other) const
 
void copyDataTo (float *values) const
 
float * data ()
 
const float * data () const
 
const float * constData () const
 

Friends

QOpenVGMatrix operator* (const QOpenVGMatrix &m1, const QOpenVGMatrix &m2)
 
QPointF operator* (const QPointF &point, const QOpenVGMatrix &matrix)
 
QPointF operator* (const QOpenVGMatrix &matrix, const QPointF &point)
 
QDebug operator<< (QDebug dbg, const QOpenVGMatrix &m)
 

Detailed Description

Definition at line 13 of file qopenvgmatrix.h.

Constructor & Destructor Documentation

◆ QOpenVGMatrix() [1/2]

QT_BEGIN_NAMESPACE QOpenVGMatrix::QOpenVGMatrix ( )

Definition at line 13 of file qopenvgmatrix.cpp.

References setToIdentity().

+ Here is the call graph for this function:

◆ QOpenVGMatrix() [2/2]

QOpenVGMatrix::QOpenVGMatrix ( const float * values)
explicit

Definition at line 18 of file qopenvgmatrix.cpp.

Member Function Documentation

◆ constData()

const float * QOpenVGMatrix::constData ( ) const
inline

Definition at line 51 of file qopenvgmatrix.h.

◆ copyDataTo()

void QOpenVGMatrix::copyDataTo ( float * values) const

Definition at line 223 of file qopenvgmatrix.cpp.

◆ data() [1/2]

float * QOpenVGMatrix::data ( )
inline

Definition at line 49 of file qopenvgmatrix.h.

◆ data() [2/2]

const float * QOpenVGMatrix::data ( ) const
inline

Definition at line 50 of file qopenvgmatrix.h.

◆ fill()

void QOpenVGMatrix::fill ( float value)

Definition at line 77 of file qopenvgmatrix.cpp.

◆ isAffine()

bool QOpenVGMatrix::isAffine ( ) const

Definition at line 64 of file qopenvgmatrix.cpp.

◆ isIdentity()

bool QOpenVGMatrix::isIdentity ( ) const

Definition at line 37 of file qopenvgmatrix.cpp.

◆ map()

QPointF QOpenVGMatrix::map ( const QPointF & point) const

Definition at line 72 of file qopenvgmatrix.cpp.

Referenced by QSGOpenVGRectangleNode::render().

+ Here is the caller graph for this function:

◆ operator!=()

bool QOpenVGMatrix::operator!= ( const QOpenVGMatrix & other) const

Definition at line 210 of file qopenvgmatrix.cpp.

References other().

+ Here is the call graph for this function:

◆ operator()() [1/2]

float & QOpenVGMatrix::operator() ( int row,
int column )

Definition at line 31 of file qopenvgmatrix.cpp.

References Q_ASSERT.

◆ operator()() [2/2]

const float & QOpenVGMatrix::operator() ( int row,
int column ) const

Definition at line 25 of file qopenvgmatrix.cpp.

References Q_ASSERT.

◆ operator*=() [1/2]

QOpenVGMatrix & QOpenVGMatrix::operator*= ( const QOpenVGMatrix & other)

Definition at line 128 of file qopenvgmatrix.cpp.

References other().

+ Here is the call graph for this function:

◆ operator*=() [2/2]

QOpenVGMatrix & QOpenVGMatrix::operator*= ( float factor)

Definition at line 169 of file qopenvgmatrix.cpp.

◆ operator+=()

QOpenVGMatrix & QOpenVGMatrix::operator+= ( const QOpenVGMatrix & other)

Definition at line 100 of file qopenvgmatrix.cpp.

References other().

+ Here is the call graph for this function:

◆ operator-=()

QOpenVGMatrix & QOpenVGMatrix::operator-= ( const QOpenVGMatrix & other)

Definition at line 114 of file qopenvgmatrix.cpp.

References other().

+ Here is the call graph for this function:

◆ operator/=()

QOpenVGMatrix & QOpenVGMatrix::operator/= ( float divisor)

Definition at line 183 of file qopenvgmatrix.cpp.

◆ operator==()

bool QOpenVGMatrix::operator== ( const QOpenVGMatrix & other) const

Definition at line 197 of file qopenvgmatrix.cpp.

References other().

+ Here is the call graph for this function:

◆ setToIdentity()

void QOpenVGMatrix::setToIdentity ( )

Definition at line 51 of file qopenvgmatrix.cpp.

Referenced by QOpenVGMatrix().

+ Here is the caller graph for this function:

◆ transposed()

QOpenVGMatrix QOpenVGMatrix::transposed ( ) const

Definition at line 90 of file qopenvgmatrix.cpp.

Friends And Related Symbol Documentation

◆ operator* [1/3]

QOpenVGMatrix operator* ( const QOpenVGMatrix & m1,
const QOpenVGMatrix & m2 )
friend

Definition at line 232 of file qopenvgmatrix.cpp.

◆ operator* [2/3]

QPointF operator* ( const QOpenVGMatrix & matrix,
const QPointF & point )
friend

Definition at line 287 of file qopenvgmatrix.cpp.

◆ operator* [3/3]

QPointF operator* ( const QPointF & point,
const QOpenVGMatrix & matrix )
friend

Definition at line 267 of file qopenvgmatrix.cpp.

◆ operator<<

QDebug operator<< ( QDebug dbg,
const QOpenVGMatrix & m )
friend

Definition at line 307 of file qopenvgmatrix.cpp.


The documentation for this class was generated from the following files: