QGIS API Documentation  2.10.1-Pisa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsDxfPaintDevice Class Reference

A paint device for drawing into dxf files. More...

#include <qgsdxfpaintdevice.h>

Inheritance diagram for QgsDxfPaintDevice:
Inheritance graph

Public Member Functions

 QgsDxfPaintDevice (QgsDxfExport *dxf)
 ~QgsDxfPaintDevice ()
QPointF dxfCoordinates (const QPointF &pt) const
 Converts a point from device coordinates to dxf coordinates. More...
int metric (PaintDeviceMetric metric) const override
QPaintEnginepaintEngine () const override
void setDrawingSize (const QSizeF &size)
void setLayer (const QString &layer)
void setOutputSize (const QRectF &r)
void setShift (const QPointF &shift)
double widthScaleFactor () const
 Returns scale factor for line width. More...
- Public Member Functions inherited from QPaintDevice
virtual  ~QPaintDevice ()
int colorCount () const
int depth () const
int height () const
int heightMM () const
int logicalDpiX () const
int logicalDpiY () const
int numColors () const
virtual QPaintEnginepaintEngine () const =0
bool paintingActive () const
int physicalDpiX () const
int physicalDpiY () const
int width () const
int widthMM () const
int x11Cells () const
Qt::HANDLE x11Colormap () const
bool x11DefaultColormap () const
bool x11DefaultVisual () const
int x11Depth () const
Display * x11Display () const
int x11Screen () const
void * x11Visual () const

Additional Inherited Members

- Static Public Member Functions inherited from QPaintDevice
int x11AppCells (int screen)
Qt::HANDLE x11AppColormap (int screen)
bool x11AppDefaultColormap (int screen)
bool x11AppDefaultVisual (int screen)
int x11AppDepth (int screen)
Display * x11AppDisplay ()
int x11AppDpiX (int screen)
int x11AppDpiY (int screen)
Qt::HANDLE x11AppRootWindow (int screen)
int x11AppScreen ()
void * x11AppVisual (int screen)
void x11SetAppDpiX (int dpi, int screen)
void x11SetAppDpiY (int dpi, int screen)
- Protected Member Functions inherited from QPaintDevice
 QPaintDevice ()

Detailed Description

A paint device for drawing into dxf files.

Definition at line 29 of file qgsdxfpaintdevice.h.

Constructor & Destructor Documentation

QgsDxfPaintDevice::QgsDxfPaintDevice ( QgsDxfExport dxf)

Definition at line 20 of file qgsdxfpaintdevice.cpp.

QgsDxfPaintDevice::~QgsDxfPaintDevice ( )

Definition at line 25 of file qgsdxfpaintdevice.cpp.

Member Function Documentation

QPointF QgsDxfPaintDevice::dxfCoordinates ( const QPointF pt) const

Converts a point from device coordinates to dxf coordinates.

Definition at line 72 of file qgsdxfpaintdevice.cpp.

int QgsDxfPaintDevice::metric ( PaintDeviceMetric  metric) const

Reimplemented from QPaintDevice.

Definition at line 35 of file qgsdxfpaintdevice.cpp.

QPaintEngine * QgsDxfPaintDevice::paintEngine ( ) const

Definition at line 30 of file qgsdxfpaintdevice.cpp.

void QgsDxfPaintDevice::setDrawingSize ( const QSizeF size)

Definition at line 37 of file qgsdxfpaintdevice.h.

void QgsDxfPaintDevice::setLayer ( const QString layer)

Definition at line 84 of file qgsdxfpaintdevice.cpp.

void QgsDxfPaintDevice::setOutputSize ( const QRectF r)

Definition at line 38 of file qgsdxfpaintdevice.h.

void QgsDxfPaintDevice::setShift ( const QPointF shift)

Definition at line 92 of file qgsdxfpaintdevice.cpp.

double QgsDxfPaintDevice::widthScaleFactor ( ) const

Returns scale factor for line width.

Definition at line 60 of file qgsdxfpaintdevice.cpp.

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