The PrimaryPoints struct contains four primary color space points. 更多...
This struct was introduced in Qt 6.9.
| bool | isValid () const |
| QColorSpace::PrimaryPoints | fromPrimaries (QColorSpace::Primaries primaries ) |
The four CIE XY color space points describing the gamut of an RGB color space; red, green, blue, and white.
另请参阅 QColorSpace::Primaries .
[static]
QColorSpace::PrimaryPoints
PrimaryPoints::
fromPrimaries
(
QColorSpace::Primaries
primaries
)
Returns the four primary points making up primaries .
[noexcept]
bool
PrimaryPoints::
isValid
() const
返回
true
if the primary points passes the sanity check used by methods consuming
QColorSpace::PrimaryPoints
.