QCAD
Open Source 2D CAD
RPainterPathDevice.h
Go to the documentation of this file.
1 
20 #ifndef RPAINTERPATHDEVICE_H
21 #define RPAINTERPATHDEVICE_H
22 
23 #include "core_global.h"
24 
25 #include <QPaintDevice>
26 
27 #include "RPainterPathEngine.h"
28 
35 class QCADCORE_EXPORT RPainterPathDevice : public QPaintDevice {
36 public:
38  virtual ~RPainterPathDevice();
39  QList<RPainterPath> getPainterPaths();
40 
41 protected:
42  QPaintEngine* paintEngine() const;
43 
44  virtual int metric(PaintDeviceMetric metric) const;
45 
46 private:
48 };
49 
51 
52 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPainterPathDevice.h:35
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RPainterPathEngine.h:36
Q_DECLARE_METATYPE(RMath *)
RPainterPathEngine * engine
Definition: RPainterPathDevice.h:47