Ovis_3D_Text_Position_Get()
Abstract
Returns the position of 3D text.
Syntax
Ovis_3D_Text_Position_Get (text_dec_ptr, position_ptr)
| Argument | Type | Description |
|---|---|---|
text_dec_ptr |
OvisT_3D_Text * |
Text |
position_ptr |
OvisT_3D_Position * |
Text position |
Return Type
OvisT_Compcode
OvisC_Compcode_Success if the provided object is a valid text pointer. Otherwise, it returns OvisC_Compcode_Failure.
Header
ovis_decoration.h
Details
This function returns the position of the 3D text.
Example
OvisT_3D_Position pos;
OvisT_3D_Text * text;
/* … text created at some point with an initial position */
Ovis_3D_Text_Position_Get (text, &pos);
Errors
- Return address for position value is NIL.
- Decoration is NIL.
- Decoration is not a 3D text.
Reference
- Use the function
Ovis_3D_Text_Position_Set()to specify the position of the text.