26 lines
555 B
C++
26 lines
555 B
C++
/*****************************************************************************
|
|
* Qwt Examples - Copyright (C) 2002 Uwe Rathmann
|
|
* This file may be used under the terms of the 3-clause BSD License
|
|
*****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
class QPainterPath;
|
|
class QPointF;
|
|
class QSizeF;
|
|
|
|
namespace ShapeFactory
|
|
{
|
|
enum Shape
|
|
{
|
|
Rect,
|
|
Triangle,
|
|
Ellipse,
|
|
Ring,
|
|
Star,
|
|
Hexagon
|
|
};
|
|
|
|
QPainterPath path( Shape, const QPointF&, const QSizeF& );
|
|
}
|