Ovis_Decoration_Type_To_String()

Abstract

Returns a text version of an Ovis decoration type.

Syntax

Ovis_Decoration_Type_To_String (dec_type)
Argument Type Description
dec_type OvisT_Decoration_Type Decoration type

Return Type

const char *

Decoration type string

ovis_base.h

Details

This function returns a string describing the decoration type. The following table lists the Ovis decoration types and resulting strings.

Table 17: Ovis Decoration Type Strings

Decoration Type String
Text OvisC_Decoration_2D_Text
OvisC_Decoration_3D_Text
"2D Text"
"3D Text"
Shapes OvisC_Decoration_2D_Line
OvisC_Decoration_2D_Segmented_Line
OvisC_Decoration_3D_Line
OvisC_Decoration_3D_Segmented_Line
"2D Line"
"2D Segmented Line"
"3D Line"
"3D Segmented Line"
Polygon shapes OvisC_Decoration_2D_Triangle
OvisC_Decoration_2D_Circle
OvisC_Decoration_2D_Square
OvisC_Decoration_3D_Triangle
OvisC_Decoration_3D_Sphere
OvisC_Decoration_3D_Cube
OvisC_Decoration_3D_Cylinder
OvisC_Decoration_3D_Area
"2D Triangle"
"2D Circle"
"2D Square"
"3D Triangle"
"3D Sphere"
"3D Cube"
"3D Cylinder"
"3D Area"
Information OvisC_Decoration_Info_Group "Info Group"
Invalid OvisC_Decoration_INVALID "<Invalid>"

Example

OvisT_Decoration_Type * dec_type;
char                    buf [128];

/* …decoration created elsewhere */

sprintf (buf, “Decoration type is %s.“, Ovis_Decoration_Type_To_String (dec_type));

Errors

None.

Reference

  • None

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