Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QColorSpace::PrimaryPoints Class Reference

The PrimaryPoints struct contains four primary color space points. More...

#include <qcolorspace.h>

Collaboration diagram for QColorSpace::PrimaryPoints:

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

Detailed Description

The PrimaryPoints struct contains four primary color space points.

\inmodule QtGui

Since
6.9

The four CIE XY color space points describing the gamut of an RGB color space; red, green, blue, and white.

See also
QColorSpace::Primaries

Definition at line 68 of file qcolorspace.h.

Member Function Documentation

◆ fromPrimaries()

QColorSpace::PrimaryPoints QColorSpace::PrimaryPoints::fromPrimaries ( QColorSpace::Primaries primaries)
static

Returns the four primary points making up primaries.

Definition at line 36 of file qcolorspace.cpp.

◆ isValid()

bool QColorSpace::PrimaryPoints::isValid ( ) const
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.

Member Data Documentation

◆ bluePoint

QPointF QColorSpace::PrimaryPoints::bluePoint

Definition at line 75 of file qcolorspace.h.

◆ greenPoint

QPointF QColorSpace::PrimaryPoints::greenPoint

Definition at line 74 of file qcolorspace.h.

◆ redPoint

QPointF QColorSpace::PrimaryPoints::redPoint

Definition at line 73 of file qcolorspace.h.

◆ whitePoint

QPointF QColorSpace::PrimaryPoints::whitePoint

Definition at line 72 of file qcolorspace.h.


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