载入中...
搜索中...
未找到
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()

float eve::ui::PcgColorPreviewSync::getAlpha ( ) const
inlinenoexcept

Return highlighted alpha.

在文件 PcgColorPreviewSync.h 第 15 行定义.

被这些函数引用 eve::ui::exposePcgColorPreviewSyncBindings().

◆ getBlue()

float eve::ui::PcgColorPreviewSync::getBlue ( ) const
inlinenoexcept

Return highlighted blue.

在文件 PcgColorPreviewSync.h 第 14 行定义.

被这些函数引用 eve::ui::exposePcgColorPreviewSyncBindings().

◆ getGreen()

float eve::ui::PcgColorPreviewSync::getGreen ( ) const
inlinenoexcept

Return highlighted green.

在文件 PcgColorPreviewSync.h 第 13 行定义.

被这些函数引用 eve::ui::exposePcgColorPreviewSyncBindings().

◆ getRed()

float eve::ui::PcgColorPreviewSync::getRed ( ) const
inlinenoexcept

Return highlighted red.

在文件 PcgColorPreviewSync.h 第 12 行定义.

被这些函数引用 eve::ui::exposePcgColorPreviewSyncBindings().

◆ 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().

被这些函数引用 eve::ui::exposePcgColorPreviewSyncBindings().


该类的文档由以下文件生成: