ANNRESIZEROTATE

typedef struct tagANNRESIZEROTATE
{
   L_UINT uStructSize;
   L_INT nState;
   pANNXFORM pAnnXForm;
   L_DOUBLE dAngle;
} ANNRESIZEROTATE, *pANNRESIZEROTATE; 

The ANNRESIZEROTATE structure contains information about an annotation object when resizing and/or rotating an object in automated mode.

Member

Description

uStructSize

Size of the ANNCHANGEPARAM structure. Use sizeof(ANNCHANGEPARAM).

nState

Value that indicates the state of the move. Possible values are:

 

Value

Meaning

 

STATE_BEGIN

[1]

 

STATE_UPDATE

[2]

 

STATE_END

[3]

pAnnXForm

Pointer to a structure of type ANNXFORM.

dAngle

Angle of rotation in degrees. Positive is clockwise, and negative is counter-clockwise.

Comments

The ANNRESIZEROTATE structure is part of the union of the ANNCHANGEPARAM structure. For more information, see the documentation for ANNCHANGEPARAM.

When doing any of the following (in automated mode or by calling L_AnnDefine explicitly)

A WM_LTANNEVENT message is sent where wParam is ANNCHANGE_RESIZE, ANNCHANGE_ROTATE, or ANNCHANGE_RESIZE_ROTATE.

The lParam field points to a structure of type ANNCHANGEPARAM. In this case, the union of ANNCHANGEPARAM is type ANNRESIZEROTATE. This message is sent when one of the following events occurs:

The pANNXFORM is a pointer to a structure of type ANNXFORM. In each of the three cases above, the ANNXFORM contains a matrix that is about to be (when bAfter is FALSE) or already has been (when bAfter is TRUE) applied to the object.

See Also

Topics:

WM_LTANNEVENT