LVectorBase::GetScale

#include "ltwrappr.h"

virtual L_INT LVectorBase::GetScale(pScale)

pVECTORPOINT pScale;

/* pointer to a vector point */

Gets the current scale values.

Parameter

Description

pScale

Pointer to a VECTORPOINT structure to be updated with the current scale values.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The scale values retrieved are those set using LVectorBase::SetScale, with pObject set to NULL and bSelectedOnly set to FALSE.

A scale value of 1.0 represents a scale factor of 100%; a scale value of 0.5 represents a scale factor of 50%; a scale value of 2.0 represents a scale factor of 200%, etc.

The default scale values are 1.0, 1.0, and 1.0 for the X, Y, and Z axes.

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::SetScale, LVectorBase::SetRotation, LVectorBase::GetRotation, LVectorBase::SetTranslation, LVectorBase::GetTranslation, LVectorBase::SetBindVerticesMode, LVectorBase::GetBindVerticesMode

Topics:

Rotating, Translating, Scaling Vector Images

 

Vector Images: Modifying Vector Object Characteristics

Example

For an example, refer to LVectorBase::EnableAlwaysEndNotification.