LVectorWindow::Reset
#include "ltwrappr.h"
L_VOID LVectorWindow::Reset(uFlags = VECTOR_RESET_ALL)
L_UINT uFlags; |
/* reset flag */ |
Resets the vector to the default display settings.
Parameter |
Description |
|
uFlags |
Flag that indicates which values to reset. Possible values are: |
|
|
Value |
Meaning |
|
VECTOR_RESET_ROTATE |
Reset the rotation values to the default settings. |
|
VECTOR_RESET_SCALE |
Reset the scale values to the default settings. |
|
VECTOR_RESET_TRANSLATE |
Reset the translation values to the default settings. |
|
VECTOR_RESET_CAMERA |
Reset the camera values to the default settings. |
|
VECTOR_RESET_PARALLELOGRAM |
Reset the parallelogram values to the default settings. |
|
VECTOR_RESET_ORIGIN |
Reset the origin values to the default settings. |
|
VECTOR_RESET_PAN |
Reset the pan values to the default settings. |
|
VECTOR_RESET_ALL |
Reset all the values to the default settings. This is the equivalent of combining all the above flags using the OR operator. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
|
|
|
|
|
|
Example
LVectorWindow::Reset()
This examples resets the vector window to the default display settings.
L_INT LVectorWindow__ResetExample(LVectorWindow &VectorWindow) { L_INT nRet; nRet = VectorWindow.Reset(); if(nRet != SUCCESS) return nRet; return SUCCESS; }