LVectorWindow::OnScale

#include "ltwrappr.h"

L_VOID LVectorWindow::OnScale(ScaleFactor)

VECTORPOINT ScaleFactor;

/* the scale factor */

This function is called whenever a scale operation is requested on the vector window.

Parameter

Description

ScaleFactor

The scale factor. The minimum value of each component of the scale factor is 0.1.

Returns

None.

Comments

Override this function to be notified of any scaling on the displayed vector.

A scale can be requested by:

image\sqrblit.gif the user pressing one of the keys defined for scaling.

image\sqrblit.gif calling the LVectorWindow::ScaleIn or LVectorWindow::ScaleOut functions.

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:

Class Members

Example

For an example, refer to LVectorWindow::MsgProcCallBack.