QCAD
Open Source 2D CAD
RPainterPathSource.h
Go to the documentation of this file.
1 
20 #ifndef RPAINTERPATHSOURCE_H
21 #define RPAINTERPATHSOURCE_H
22 
23 #include "core_global.h"
24 
25 #include <QList>
26 
27 #include "RPainterPath.h"
28 
29 #ifndef RDEFAULT_MIN1
30 #define RDEFAULT_MIN1 -1
31 #endif
32 
41 public:
42  virtual ~RPainterPathSource();
43  virtual QList<RPainterPath> getPainterPaths(bool draft = false, double pixelSizeHint = RDEFAULT_MIN1) const = 0;
44 };
45 
49 Q_DECLARE_METATYPE(QSharedPointer<RPainterPathSource>*)
50 
51 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Q_DECLARE_METATYPE(RMath *)
Interface for entity data classes that can deliver painter paths.
Definition: RPainterPathSource.h:40
#define RDEFAULT_MIN1
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPainterPathSource.h:30