VECTORCLONE

typedef  struct  tagVECTORCLONE 
{ 
   VECTOROBJECT Object; 
   VECTORPOINT Point; 
   VECTORGROUP Group; 
   L_UINT32 dwFlags; 
   VECTORPEN Pen; 
   VECTORBRUSH Brush; 
   VECTORPOINT Scale; 
   VECTORPOINT Rotation; 
}  VECTORCLONE,  *  pVECTORCLONE; 

The VECTORCLONE structure holds information about a vector clone object.

Members

VECTOROBJECT Object

Abstract object.

VECTORPOINT Point

A VECTORPOINT structure that contains the center of a vector clone object in space.

VECTORGROUP Group

A VECTORGROUP structure that contains the group this clone will be using.

L_UINT32 dwFlags

Flag that indicates how to draw this clone object. Possible values are:

Value Meaning
VECTOR_CLONE_USE_PEN Use the Pen member of this structure to draw the clone. If this flag is not specified, the clone will use the same pen colors and styles as the original objects inside the group.
VECTOR_CLONE_USE_BRUSH Use the Brush member of this structure to draw the clone. If this flag is not specified, the clone will use the same brush colors and styles as the original objects inside the group.
VECTOR_CLONE_USE_POINT_AS_ORIGIN Use the Point member as the origin point when performing Scaling and Rotation. If this flag is not specified, the Scaling and Rotation will be performed around the accumulative center of all objects inside the group.

VECTORPEN Pen

VECTORPEN structure that contains information about the pen to use when drawing the vector clone object.

VECTORBRUSH Brush

VECTORBRUSH structure that contains information about the brush to use when drawing the vector clone object.

VECTORPOINT Scale

A VECTORPOINT structure that contains the scaling factor to use when drawing this clone object.

VECTORPOINT Rotation

A VECTORPOINT structure that contains the rotation values to use when drawing this clone object.

Comments

nSize of the Object member must be the sizeof this structure.

nType of the Object member must be VECTOR_CLONE.

When drawing a clone object, the toolkit will first rotate the group around its origin using the values in Rotation, scale it around its origin using the values in Scale and finally translate it to the position specified in Point.

pVECTORCLONE is a pointer to a VECTORCLONE structure.

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