Logo white

Peter M. Groen / openbr

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openbr
  • 3rdparty
  • qwt-6.1-rc3
  • examples
  • itemeditor
  • shapefactory.h
  • initial qt5 port complete
    e5e38a5b
    Josh Klontz authored
    2013-02-14 12:52:26 -0500  
    Browse Code ยป
shapefactory.h 303 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#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