Ets_Gui_Color_To_RGB()

注意: 需要 OPNET Development Kit

摘要

返回颜色的 RGB 规范。

语法

Ets_Gui_Color_To_RGB (color, red_ptr, green_ptr, blue_ptr)
参数 类型 说明
color EtsT_Color 指定颜色。
red_ptr double * 指向红色分量的指针。
green_ptr double * 指向绿色分量的指针。
blue_ptr double * 指向蓝色分量的指针。

返回类型

EtsT_Compcode

若颜色与红、绿、蓝混合值均正确则返回 EtsC_Compcode_Success,否则返回 EtsC_Compcode_Failure。

头文件

ets_api_gui.h

详情

该函数返回颜色的 RGB 规范。所有参数必须返回非空值,否则该函数将返回 EtsC_Compcode_Failure。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com