Ovis_Decoration_Id_Get()
Abstract
Returns the Ovis decoration ID.
Syntax
Ovis_Decoration_Id_Get (dec_ptr)
| Argument | Type | Description |
|---|---|---|
dec_ptr |
OvisT_Decoration * |
Ovis decoration |
Return Type
OvisT_Id
ID of the Ovis decoration; OVISC_ID_INVALID if it is not a valid decoration.
Header
ovis_decoration.h
Details
This function returns the ID of the Ovis decoration.
Example
OvisT_2D_Line * line;
OvisT_Id id;
/* …line created elsewhere */
id = Ovis_Decoration_Id_Get (line);
Errors
- Decoration is NIL.
Reference
- None