![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The PrimaryPoints struct contains four primary color space points. More...
#include <qcolorspace.h>
Public Member Functions | |
Q_GUI_EXPORT bool | isValid () const noexcept |
Returns true if the primary points passes the sanity check used by methods consuming QColorSpace::PrimaryPoints. |
Static Public Member Functions | |
static Q_GUI_EXPORT PrimaryPoints | fromPrimaries (Primaries primaries) |
Returns the four primary points making up primaries. |
Public Attributes | |
QPointF | whitePoint |
QPointF | redPoint |
QPointF | greenPoint |
QPointF | bluePoint |
The PrimaryPoints struct contains four primary color space points.
\inmodule QtGui
The four CIE XY color space points describing the gamut of an RGB color space; red, green, blue, and white.
Definition at line 68 of file qcolorspace.h.
|
static |
Returns the four primary points making up primaries.
Definition at line 36 of file qcolorspace.cpp.
|
noexcept |
Returns true
if the primary points passes the sanity check used by methods consuming QColorSpace::PrimaryPoints.
Definition at line 76 of file qcolorspace.cpp.
QPointF QColorSpace::PrimaryPoints::bluePoint |
Definition at line 75 of file qcolorspace.h.
QPointF QColorSpace::PrimaryPoints::greenPoint |
Definition at line 74 of file qcolorspace.h.
QPointF QColorSpace::PrimaryPoints::redPoint |
Definition at line 73 of file qcolorspace.h.
QPointF QColorSpace::PrimaryPoints::whitePoint |
Definition at line 72 of file qcolorspace.h.