/*  $Id: Arc.h,v 1.3 1997/04/04 08:21:54 jan Exp $

    Part of XPCE
    Designed and implemented by Anjo Anjewierden and Jan Wielemaker
    E-mail: jan@swi.psy.uva.nl

    Copyright (C) 1993-1997 University of Amsterdam. All rights reserved.
*/

#ifndef _PCE_ARC_H
#define _PCE_ARC_H

PceExternalClass(ClassArc);
class PceArc :public PceObject
{
public:
  PceArc() :
    PceObject(ClassArc)
  {
  }
  PceArc(PceArg radius) :
    PceObject(ClassArc, radius)
  {
  }
  PceArc(PceArg radius, PceArg start) :
    PceObject(ClassArc, radius, start)
  {
  }
  PceArc(PceArg radius, PceArg start, PceArg size) :
    PceObject(ClassArc, radius, start, size)
  {
  }
};

inline PceArc
AsArc(PceArg a)
{ return *((PceArc*) &a);
}

#endif /*!_PCE_ARC_H*/
