LVectorObject::LVectorObject

#include "ltwrappr.h"

L_VOID LVectorObject::LVectorObject(L_VOID)

L_VOID LVectorObject::LVectorObject(pObject, pVector=NULL)

pVECTOROBJECT pObject;

/* pointer to a VECTOROBJECT structure */

LVectorBase L_FAR * pVector;

/* pointer to an LVectorBase object */

Constructs and initializes the different member variables of the LVectorObject object.

Parameter

Description

pObject

Pointer to a VECTOROBJECT structure that contains information used to create and initialize the new vector layer.

pVector

Pointer to an LVectorBase object. The newly created vector layer will be associated with this LVectorBase object.

Returns

None.

Comments

LVectorObject::LVectorObject(L_VOID) is a constructor for the LVectorObject object. This constructor should be used when it is not required to know the specific properties of the vector object. For example, this constructor could be used to create LVectorObject objects used with the following functions:

LVectorObject::DeleteObject

LVectorObject::SelectObject

LVectorObject::IsObjectSelected

LVectorObject::ExplodeObject

LVectorDialog::DoModalVectorEditObject

LVectorObject::LVectorObject(pObject, pVector=NULL) creates an LVectorObject object based on the information provided in pObject and associates the newly created LVectorObject object with the specified LVectorBase object. This constructor should be used with the LVectorLayer::EnumObjects function, which returns a valid pVECTOROBJECT pointer in the LVectorLayer::EnumObjectsCallBackmember function.

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:

LVectorObject::~LVectorObject, LVectorObject::DeleteObject, LVectorObject::SelectObject, LVectorObject::IsObjectSelected, LVectorObject::ExplodeObject, LVectorDialog::DoModalVectorEditObject, Class Members

Example

For an example of LVectorObject::LVectorObject(L_VOID), refer to LVectorBase::HitTest.

For an example of LVectorObject::LVectorObject(pObject, pVector=NULL) refer to LVectorObject::IsObjectInsideParallelogram.