QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
DxfPaintDevice Class Reference

The DxfPaintDevice class Pairs with DxfPaintEngine. One instance targets one already-open DXF file (Createdxf::dxfBegin()/dxfEnd() bracket the whole export, same as today - this device only ever appends entities in between). More...

#include <dxfpaintdevice.h>

Inherits QPaintDevice.

Collaboration diagram for DxfPaintDevice:
Collaboration graph

Public Member Functions

 DxfPaintDevice (const QString &filepath)
 DxfPaintDevice::DxfPaintDevice.
 ~DxfPaintDevice () override
QPaintEngine * paintEngine () const override

Protected Member Functions

int metric (PaintDeviceMetric metric) const override

Private Attributes

QString m_filepath
DxfPaintEnginem_engine

Detailed Description

The DxfPaintDevice class Pairs with DxfPaintEngine. One instance targets one already-open DXF file (Createdxf::dxfBegin()/dxfEnd() bracket the whole export, same as today - this device only ever appends entities in between).

Constructor & Destructor Documentation

◆ DxfPaintDevice()

DxfPaintDevice::DxfPaintDevice ( const QString & filepath)
explicit

DxfPaintDevice::DxfPaintDevice.

Parameters
filepathpath of the already-open DXF file (see Createdxf::dxfBegin()/dxfEnd() - this device only appends entities in between, it does not open/close the file itself).

◆ ~DxfPaintDevice()

DxfPaintDevice::~DxfPaintDevice ( )
override

Member Function Documentation

◆ metric()

int DxfPaintDevice::metric ( PaintDeviceMetric metric) const
overrideprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ paintEngine()

QPaintEngine * DxfPaintDevice::paintEngine ( ) const
override

Member Data Documentation

◆ m_engine

DxfPaintEngine* DxfPaintDevice::m_engine
private

◆ m_filepath

QString DxfPaintDevice::m_filepath
private

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