Files
QWidgetDemo/third/qwtdemo/examples/itemeditor/shapefactory.h
feiyangqingyun ebfd531a91 彻底改版2.0
2021-11-17 16:41:30 +08:00

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