载入中...
搜索中...
未找到
eve::ui::PcgColorPreviewSync类 参考
Caller-owned highlighted-color snapshot ported from Pcg ColorPreviewSync. 更多...
#include <PcgColorPreviewSync.h>
Public 成员函数 | |
| Result< void > | sync (float red, float green, float blue, float alpha) |
| Synchronize from the source image color exactly as Pcg does on enable. | |
| float | getRed () const noexcept |
| Return highlighted red. | |
| float | getGreen () const noexcept |
| Return highlighted green. | |
| float | getBlue () const noexcept |
| Return highlighted blue. | |
| float | getAlpha () const noexcept |
| Return highlighted alpha. | |
详细描述
Caller-owned highlighted-color snapshot ported from Pcg ColorPreviewSync.
在文件 PcgColorPreviewSync.h 第 8 行定义.
成员函数说明
◆ getAlpha()
|
inlinenoexcept |
Return highlighted alpha.
在文件 PcgColorPreviewSync.h 第 15 行定义.
◆ getBlue()
|
inlinenoexcept |
Return highlighted blue.
在文件 PcgColorPreviewSync.h 第 14 行定义.
◆ getGreen()
|
inlinenoexcept |
Return highlighted green.
在文件 PcgColorPreviewSync.h 第 13 行定义.
◆ getRed()
|
inlinenoexcept |
Return highlighted red.
在文件 PcgColorPreviewSync.h 第 12 行定义.
◆ sync()
| Result< void > eve::ui::PcgColorPreviewSync::sync | ( | float | red, |
| float | green, | ||
| float | blue, | ||
| float | alpha | ||
| ) |
Synchronize from the source image color exactly as Pcg does on enable.
在文件 PcgColorPreviewSync.cpp 第 6 行定义.
引用了 a, b, eve::Diagnostic::error(), eve::Result< T >::failure(), g, eve::InvalidArgument, r , 以及 eve::Result< T >::success().
该类的文档由以下文件生成:
- src/modules/ui/PcgColorPreviewSync.h
- src/modules/ui/PcgColorPreviewSync.cpp