qt_demoe/qwtdemo/examples/itemeditor/shapefactory.h

22 lines
303 B
C++

#ifndef _SHAPE_FACTORY_H_
#define _SHAPE_FACTORY_H_
#include <qpainterpath.h>
namespace ShapeFactory
{
enum Shape
{
Rect,
Triangle,
Ellipse,
Ring,
Star,
Hexagon
};
QPainterPath path( Shape, const QPointF &, const QSizeF & );
};
#endif