/*-----------------------------------------------------------------
LOG
    GEM - Graphics Environment for Multimedia

    A square

    Copyright (c) 1997-2000 Mark Danks. mark@danks.org
    For information on usage and redistribution, and for a DISCLAIMER OF ALL
    WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.

-----------------------------------------------------------------*/

#ifndef INCLUDE_SQUARE_H_
#define INCLUDE_SQUARE_H_

#include "Base/GemShape.h"

/*-----------------------------------------------------------------
-------------------------------------------------------------------
CLASS
    square
    
    Creates a square

KEYWORDS
    geo
    
DESCRIPTION
    
-----------------------------------------------------------------*/
class GEM_EXTERN square : public GemShape
{
    CPPEXTERN_HEADER(square, GemShape)

    public:

        //////////
        // Constructor
    	square(t_floatarg size);
    	
    protected:
    	
    	//////////
    	// Destructor
    	virtual ~square();

    	//////////
    	// Do the rendering
    	virtual void 	render(GemState *state);

    	//////////
    	// How the object should be drawn
    	virtual void	typeMess(t_symbol *type);
};

#endif	// for header file
