LVectorWindow::GetScaleFactor

Summary

Gets the current scale factor for the LVectorWindow object.

Syntax

#include "ltwrappr.h"

VECTORPOINT LVectorWindow::GetScaleFactor(L_VOID)

Returns

A VECTORPOINT structure that holds the current LVectorWindow scale factor.

Comments

The LVectorWindow::ScaleIn and LVectorWindow::ScaleOut member functions use the scale factor to scale the currently loaded vector.

Scaling changes the internally stored scale of the vector.

Required DLLs and Libraries

See Also

Functions

Example

Assumes pVectorWindow points to a valid LVectorWindow object.

L_INT LVectorWindow__GetScaleFactorExample(LVectorWindow *pVectorWindow) 
{ 
   VECTORPOINT scale; 
   L_TCHAR     szTemp[100]; 
 
   //Get the current scale factor 
   scale = pVectorWindow->GetScaleFactor(); 
 
   wsprintf(szTemp, TEXT("ScaleFactor[%lf, %lf, %lf]"), scale.x, scale.y, scale.z); 
 
   MessageBox(NULL, szTemp, TEXT(""), MB_OK); 
 
   return SUCCESS; 
} 

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.