QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
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
35class QCADCORE_EXPORT RPainterPathDevice : public QPaintDevice {
36public:
38
39 void setStrokePolygon(bool on) {
40 engine->setStrokePolygon(on);
41 }
42
43 virtual ~RPainterPathDevice();
44 QList<RPainterPath> getPainterPaths();
45
46protected:
47 QPaintEngine* paintEngine() const;
48
49 virtual int metric(PaintDeviceMetric metric) const;
50
51private:
53};
54
56
57#endif
Q_DECLARE_METATYPE(RMath *)
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RPainterPathDevice.h:35
RPainterPathEngine * engine
Definition RPainterPathDevice.h:52
void setStrokePolygon(bool on)
Definition RPainterPathDevice.h:39
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RPainterPathEngine.h:36
#define QCADCORE_EXPORT
Definition core_global.h:10