qt_demoe/third/qwtdemo/examples/itemeditor/shapefactory.h

22 lines
303 B
C
Raw Normal View History

2019-11-07 02:55:57 +00:00
#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