VECTORRECTANGLE

typedef  struct  tagVECTORRECTANGLE
{
     VECTOROBJECT  Object;
     VECTORPOINT  Point[2];
     VECTORPEN  Pen;
     VECTORBRUSH  Brush;
}  VECTORRECTANGLE,  L_FAR  *  pVECTORRECTANGLE;

The VECTORRECTANGLE structure holds information about a vector rectangle object.

Member

Description

Object

Abstract object.

Point

An array of VECTORPOINT structures that contain the beginning and ending points of the diagonal of a rectangle in space.

Pen

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

Brush

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

Comments

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

nType of the Object member must be VECTOR_RECTANGLE.

pVECTORRECTANGLE is a pointer to a VECTORRECTANGLE structure.