QtBase  v6.3.1
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
QColorVector Class Reference

#include <qcolormatrix_p.h>

Public Member Functions

 QColorVector ()=default
 
constexpr QColorVector (float x, float y, float z)
 
constexpr QColorVector (const QPointF &chr)
 
bool isNull () const
 

Static Public Member Functions

static bool isValidChromaticity (const QPointF &chr)
 
static constexpr QPointF D50Chromaticity ()
 
static constexpr QPointF D65Chromaticity ()
 
static constexpr QColorVector D50 ()
 
static constexpr QColorVector D65 ()
 

Public Attributes

float x = 0.0f
 
float y = 0.0f
 
float z = 0.0f
 
float _unused = 0.0f
 

Friends

bool operator== (const QColorVector &v1, const QColorVector &v2)
 
bool operator!= (const QColorVector &v1, const QColorVector &v2)
 

Detailed Description

Definition at line 61 of file qcolormatrix_p.h.

Constructor & Destructor Documentation

◆ QColorVector() [1/3]

QColorVector::QColorVector ( )
default
Here is the caller graph for this function:

◆ QColorVector() [2/3]

constexpr QColorVector::QColorVector ( float  x,
float  y,
float  z 
)
inlineconstexpr

Definition at line 65 of file qcolormatrix_p.h.

◆ QColorVector() [3/3]

constexpr QColorVector::QColorVector ( const QPointF chr)
inlineexplicitconstexpr

Definition at line 66 of file qcolormatrix_p.h.

Member Function Documentation

◆ D50()

static constexpr QColorVector QColorVector::D50 ( )
inlinestaticconstexpr

Definition at line 97 of file qcolormatrix_p.h.

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

◆ D50Chromaticity()

static constexpr QPointF QColorVector::D50Chromaticity ( )
inlinestaticconstexpr

Definition at line 95 of file qcolormatrix_p.h.

Here is the caller graph for this function:

◆ D65()

static constexpr QColorVector QColorVector::D65 ( )
inlinestaticconstexpr

Definition at line 98 of file qcolormatrix_p.h.

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

◆ D65Chromaticity()

static constexpr QPointF QColorVector::D65Chromaticity ( )
inlinestaticconstexpr

Definition at line 96 of file qcolormatrix_p.h.

Here is the caller graph for this function:

◆ isNull()

bool QColorVector::isNull ( ) const
inline

Definition at line 78 of file qcolormatrix_p.h.

◆ isValidChromaticity()

static bool QColorVector::isValidChromaticity ( const QPointF chr)
inlinestatic

Definition at line 83 of file qcolormatrix_p.h.

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

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const QColorVector v1,
const QColorVector v2 
)
friend

Definition at line 108 of file qcolormatrix_p.h.

◆ operator==

bool operator== ( const QColorVector v1,
const QColorVector v2 
)
friend

Definition at line 101 of file qcolormatrix_p.h.

Member Data Documentation

◆ _unused

float QColorVector::_unused = 0.0f

Definition at line 74 of file qcolormatrix_p.h.

◆ x

float QColorVector::x = 0.0f

Definition at line 71 of file qcolormatrix_p.h.

◆ y

float QColorVector::y = 0.0f

Definition at line 72 of file qcolormatrix_p.h.

◆ z

float QColorVector::z = 0.0f

Definition at line 73 of file qcolormatrix_p.h.


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