本页内容

QColorSpace::PrimaryPoints Struct

struct QColorSpace::PrimaryPoints

PrimaryPoints 结构体包含四个主色域点。更多内容...

该结构体于 Qt 6.9 版本中引入。

公共函数

bool isValid() const

静态公共成员

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

详细说明

描述 RGB 色彩空间色域的四个 CIE XY 色彩空间点:红、绿、蓝和白。

另请参阅 QColorSpace::Primaries 。

成员函数文档

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

返回构成primaries 的四个主要点。

[noexcept] bool PrimaryPoints::isValid() const

如果主点通过了调用QColorSpace::PrimaryPoints 的方法所使用的合理性检查,则返回true 。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.