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:

LVectorBase::Reset, Class Members

Topics:

Manipulating the Camera

 

Panning Vector Images

 

Rotating, Translating, Scaling Vector Images

 

Viewing Vector Images

Example

// LVectorWindow::Reset()
// This examples resets the vector window to the default display settings
L_VOID ResetVectorWindowTest(LVectorWindow &VectorWindow)
{
   Vector
Window.Reset();
}