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

© 2025 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.