#include <vdxfpaintdevice.h>
Public Member Functions | |
VDxfPaintDevice () | |
virtual | ~VDxfPaintDevice () Q_DECL_OVERRIDE |
virtual QPaintEngine * | paintEngine () const Q_DECL_OVERRIDE |
QString | getFileName () const |
void | setFileName (const QString &value) |
QSize | getSize () |
void | setSize (const QSize &size) |
double | getResolution () const |
void | setResolution (double dpi) |
DRW::Version | GetVersion () const |
void | SetVersion (DRW::Version version) |
void | SetBinaryFormat (bool binary) |
bool | IsBinaryFormat () const |
void | setMeasurement (const VarMeasurement &var) |
void | setInsunits (const VarInsunits &var) |
bool | ExportToAAMA (const QVector< VLayoutPiece > &details) const |
Protected Member Functions | |
virtual int | metric (PaintDeviceMetric metric) const Q_DECL_OVERRIDE |
Private Attributes | |
VDxfEngine * | engine |
QString | fileName |
Definition at line 44 of file vdxfpaintdevice.h.
VDxfPaintDevice::VDxfPaintDevice | ( | ) |
Definition at line 37 of file vdxfpaintdevice.cpp.
|
virtual |
Definition at line 43 of file vdxfpaintdevice.cpp.
References engine.
bool VDxfPaintDevice::ExportToAAMA | ( | const QVector< VLayoutPiece > & | details | ) | const |
Definition at line 166 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::ExportToAAMA().
Referenced by MainWindowsNoGUI::AAMADxfFile().
QString VDxfPaintDevice::getFileName | ( | ) | const |
Definition at line 57 of file vdxfpaintdevice.cpp.
References fileName.
double VDxfPaintDevice::getResolution | ( | ) | const |
Definition at line 93 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::getResolution().
QSize VDxfPaintDevice::getSize | ( | ) |
Definition at line 76 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::getSize().
DRW::Version VDxfPaintDevice::GetVersion | ( | ) | const |
Definition at line 110 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::GetVersion().
bool VDxfPaintDevice::IsBinaryFormat | ( | ) | const |
Definition at line 138 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::IsBinaryFormat().
|
protectedvirtual |
Definition at line 175 of file vdxfpaintdevice.cpp.
References engine, VDxfEngine::getResolution(), and VDxfEngine::getSize().
|
virtual |
Definition at line 50 of file vdxfpaintdevice.cpp.
References engine.
void VDxfPaintDevice::SetBinaryFormat | ( | bool | binary | ) |
Definition at line 127 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::SetBinaryFormat().
Referenced by MainWindowsNoGUI::AAMADxfFile(), and MainWindowsNoGUI::FlatDxfFile().
void VDxfPaintDevice::setFileName | ( | const QString & | value | ) |
Definition at line 63 of file vdxfpaintdevice.cpp.
References engine, fileName, and VDxfEngine::setFileName().
Referenced by MainWindowsNoGUI::AAMADxfFile(), and MainWindowsNoGUI::FlatDxfFile().
void VDxfPaintDevice::setInsunits | ( | const VarInsunits & | var | ) |
Definition at line 155 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::setInsunits().
Referenced by MainWindowsNoGUI::AAMADxfFile(), and MainWindowsNoGUI::FlatDxfFile().
void VDxfPaintDevice::setMeasurement | ( | const VarMeasurement & | var | ) |
Definition at line 144 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::setMeasurement().
void VDxfPaintDevice::setResolution | ( | double | dpi | ) |
Definition at line 99 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::setResolution().
Referenced by MainWindowsNoGUI::AAMADxfFile(), and MainWindowsNoGUI::FlatDxfFile().
void VDxfPaintDevice::setSize | ( | const QSize & | size | ) |
Definition at line 82 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::setSize().
Referenced by MainWindowsNoGUI::AAMADxfFile(), and MainWindowsNoGUI::FlatDxfFile().
void VDxfPaintDevice::SetVersion | ( | DRW::Version | version | ) |
Definition at line 116 of file vdxfpaintdevice.cpp.
References engine, and VDxfEngine::SetVersion().
Referenced by MainWindowsNoGUI::AAMADxfFile(), and MainWindowsNoGUI::FlatDxfFile().
|
private |
Definition at line 75 of file vdxfpaintdevice.h.
Referenced by ExportToAAMA(), getResolution(), getSize(), GetVersion(), IsBinaryFormat(), metric(), paintEngine(), SetBinaryFormat(), setFileName(), setInsunits(), setMeasurement(), setResolution(), setSize(), SetVersion(), and ~VDxfPaintDevice().
|
private |
Definition at line 76 of file vdxfpaintdevice.h.
Referenced by getFileName(), and setFileName().