Seamly2D
Code documentation
VDxfPaintDevice Class Reference

#include <vdxfpaintdevice.h>

Inheritance diagram for VDxfPaintDevice:
Collaboration diagram for VDxfPaintDevice:

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

VDxfEngineengine
 
QString fileName
 

Detailed Description

Definition at line 44 of file vdxfpaintdevice.h.

Constructor & Destructor Documentation

◆ VDxfPaintDevice()

VDxfPaintDevice::VDxfPaintDevice ( )

Definition at line 37 of file vdxfpaintdevice.cpp.

◆ ~VDxfPaintDevice()

VDxfPaintDevice::~VDxfPaintDevice ( )
virtual

Definition at line 43 of file vdxfpaintdevice.cpp.

References engine.

Member Function Documentation

◆ ExportToAAMA()

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().

◆ getFileName()

QString VDxfPaintDevice::getFileName ( ) const

Definition at line 57 of file vdxfpaintdevice.cpp.

References fileName.

◆ getResolution()

double VDxfPaintDevice::getResolution ( ) const

Definition at line 93 of file vdxfpaintdevice.cpp.

References engine, and VDxfEngine::getResolution().

◆ getSize()

QSize VDxfPaintDevice::getSize ( )

Definition at line 76 of file vdxfpaintdevice.cpp.

References engine, and VDxfEngine::getSize().

◆ GetVersion()

DRW::Version VDxfPaintDevice::GetVersion ( ) const

Definition at line 110 of file vdxfpaintdevice.cpp.

References engine, and VDxfEngine::GetVersion().

◆ IsBinaryFormat()

bool VDxfPaintDevice::IsBinaryFormat ( ) const

Definition at line 138 of file vdxfpaintdevice.cpp.

References engine, and VDxfEngine::IsBinaryFormat().

◆ metric()

int VDxfPaintDevice::metric ( PaintDeviceMetric  metric) const
protectedvirtual

Definition at line 175 of file vdxfpaintdevice.cpp.

References engine, VDxfEngine::getResolution(), and VDxfEngine::getSize().

◆ paintEngine()

QPaintEngine * VDxfPaintDevice::paintEngine ( ) const
virtual

Definition at line 50 of file vdxfpaintdevice.cpp.

References engine.

◆ SetBinaryFormat()

void VDxfPaintDevice::SetBinaryFormat ( bool  binary)

◆ setFileName()

void VDxfPaintDevice::setFileName ( const QString &  value)

◆ setInsunits()

void VDxfPaintDevice::setInsunits ( const VarInsunits var)

◆ setMeasurement()

void VDxfPaintDevice::setMeasurement ( const VarMeasurement var)

Definition at line 144 of file vdxfpaintdevice.cpp.

References engine, and VDxfEngine::setMeasurement().

◆ setResolution()

void VDxfPaintDevice::setResolution ( double  dpi)

◆ setSize()

void VDxfPaintDevice::setSize ( const QSize &  size)

◆ SetVersion()

void VDxfPaintDevice::SetVersion ( DRW::Version  version)

Member Data Documentation

◆ engine

◆ fileName

QString VDxfPaintDevice::fileName
private

Definition at line 76 of file vdxfpaintdevice.h.

Referenced by getFileName(), and setFileName().


The documentation for this class was generated from the following files: