Available in LEADTOOLS Vector Imaging toolkits. |
LVectorWindow::OnScale
#include "ltwrappr.h"
virtual 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:
the user pressing one of the keys defined for zooming.
calling the LVectorWindow::ZoomIn or LVectorWindow::ZoomOut 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: |
Example
For an example, refer to LVectorWindow::MsgProcCallBack.