Ovis_Decoration_Parent_Layer_Nth()

摘要

返回承载该 Ovis 装饰的第 N 个图层。

语法

Ovis_Decoration_Parent_Layer_Nth (dec_ptr, parent_index)
参数 类型 说明
dec_ptr OvisT_Decoration * Ovis 装饰
parent_index unsigned int 图层索引

返回类型

OvisT_Layer *

父图层

头文件

ovis_decoration.h

详情

该函数返回指向承载 Ovis 装饰对象的第 n 个图层的指针。

示例

OvisT_2D_Line				* line;
unsigned int				count, i;
OvisT_Layer 				* layer;

/* …line created elsewhere */

count = Ovis_Decoration_Parent_Layer_Count (line);
for (i = 0; i < count; i++)
	{
	layer = Ovis_Decoration_Parent_Layer_Nth (line, i);
	/* … do something with layer */
	}

错误

  • 装饰为 NIL。

参考

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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