#ifndef __OOL_XRECTANGLE_H__
 #define __OOL_XRECTANGLE_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XRectangle                            */
/*                       derived from: XGraphicObject                        */
/*                        last update: 4/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/




#include "xgraphob.h"
#include "xpoint.h"

class XRect;

class _export_ XRectangle: public XGraphicObject
{
   private:
      char lineEnd;
      char lineJoin;
      SHORT lineWidth;
      XPoint p2;
   public:
      XRectangle( XGraphicDevice *, XPoint *, XPoint *);
      void Draw( XRect * r = NULL);
      void SetStartPoint( XPoint*);
      void SetEndPoint( XPoint*);
};


#endif
