LVectorBase::GetBindVerticesMode

#include "ltwrappr.h"

virtual L_INT LVectorBase::GetBindVerticesMode(L_VOID)

Gets the current vertices bind mode for a vector handle.

Returns

An L_INT value that represents the Vertices bind mode for the specified vector handle. Possible values are:

Value

Meaning

VECTOR_BIND_VERTICES

Vertices are bound. If changes occur to an object, all other objects sharing vertices with that object will be changed too.

VECTOR_UNBIND_VERTICES

Vertices are not bound. If changes occur to an object, Other objects sharing vertices with that object will not be effected.

Comments

Default mode is VECTOR_BIND_VERTICES.

This function will have no effect in the DirectX engine.

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

Topics:

Rotating, Translating, Scaling Vector Images

 

Vector Images: Modifying Vector Object Characteristics

Example

L_VOID Example19(HWND hWnd)
{  
   LVectorBase Vector;

   Vector.Load(TEXT("s:\\temp\\images\\dxf\\test.dxf"));
   if( Vector.GetBindVerticesMode() == VECTOR_BIND_VERTICES )
      Vector.SetBindVerticesMode(VECTOR_UNBIND_VERTICES );
   else
      Vector.SetBindVerticesMode(VECTOR_BIND_VERTICES );
}