CONTAINERSQUAREDATA

typedef struct _CONTAINERSQUAREDATA
{
   L_INT   nSize ;
   VECTORPOINT   vptSquare [ 2 ] ;
   
} CONTAINERSQUAREDATA,  *pCONTAINERSQUAREDATA ;

The CONTAINERSQUAREDATA holds the coordinates of a square object.

Member

Description

nSize

Size of the structure.

vptSquare [ 2 ]

An array of structures that contain the upper-left and lower-right points of the square. The contents of the array are as follows:

 

Value

Meaning

 

vptSquare [ 0 ].x

x-coordinate of the upper-left corner of the square.

 

vptSquare [ 0 ].y

y-coordinate of the upper-left corner of the square.

 

vptSquare [ 1 ].x

x-coordinate of the lower-right corner of the square.

 

vptSquare [ 1 ].y

y-coordinate of the lower-right corner of the square.