LVectorWindow::GetScaleFactor

#include "ltwrappr.h"

VECTORPOINT LVectorWindow::GetScaleFactor(L_VOID)

Gets the current scale factor for the LVectorWindow object.

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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.