CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::CNumberValue类 参考

Public 成员函数

 CNumberValue ()
 CNumberValue (float value, CNumberType type=value_px)
 ~CNumberValue ()
const CNumberValueoperator= (const CNumberValue &other)
float ValueViewPort (int w, int h) const
float Value () const
float ValueRoundRadius (int w, int h, float scale, BOOL is_horz) const
void SetValue (float value, CNumberType type=value_px)
void ShellValue (LPCTSTR text)

Public 属性

float m_value
CNumberType m_type

构造及析构函数说明

◆ CNumberValue() [1/2]

BUI::CNumberValue::CNumberValue ( )

◆ CNumberValue() [2/2]

BUI::CNumberValue::CNumberValue ( float value,
CNumberType type = value_px )

◆ ~CNumberValue()

BUI::CNumberValue::~CNumberValue ( )

成员函数说明

◆ operator=()

const CNumberValue & BUI::CNumberValue::operator= ( const CNumberValue & other)

◆ SetValue()

void BUI::CNumberValue::SetValue ( float value,
CNumberType type = value_px )

◆ ShellValue()

void BUI::CNumberValue::ShellValue ( LPCTSTR text)

◆ Value()

float BUI::CNumberValue::Value ( ) const

◆ ValueRoundRadius()

float BUI::CNumberValue::ValueRoundRadius ( int w,
int h,
float scale,
BOOL is_horz ) const

◆ ValueViewPort()

float BUI::CNumberValue::ValueViewPort ( int w,
int h ) const

类成员变量说明

◆ m_type

CNumberType BUI::CNumberValue::m_type

◆ m_value

float BUI::CNumberValue::m_value
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有