typedef struct _CONTAINERSQUAREDATA
{
L_INT nSize ;
VECTORPOINT vptSquare [ 2 ] ;
} CONTAINERSQUAREDATA, *pCONTAINERSQUAREDATA ;
The CONTAINERSQUAREDATA holds the coordinates of a square object.
Size of the structure.
An array of VECTORPOINT structures that contains 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. |