RPainterPathDevice
Class in Core Module
Header: #include <src/core/RPainterPathDevice.h>
Inherits: QPaintDevice
Description
Section titled “Description”All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD. Paint device that produces painter paths as output.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RPainterPathDevice() |
|
| virtual | ~RPainterPathDevice() |
| QList< RPainterPath > | getPainterPaths() |
| void | setDpi(double v) |
| void | setSize(const QSize &v) |
| void | setStrokePolygon(bool on) |
Protected Functions
Section titled “Protected Functions”| virtual int | metric(PaintDeviceMetric metric) const |
| QPaintEngine * | paintEngine() const |
Private Attributes
Section titled “Private Attributes”| double | dpi |
| RPainterPathEngine * | engine |
| QSize | size |
Member Documentation
Section titled “Member Documentation”RPainterPathDevice
Section titled “RPainterPathDevice”RPainterPathDevice::RPainterPathDevice()All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
~RPainterPathDevice
Section titled “~RPainterPathDevice”virtual RPainterPathDevice::~RPainterPathDevice()virtual
getPainterPaths
Section titled “getPainterPaths”QList< RPainterPath > RPainterPathDevice::getPainterPaths()setDpi
Section titled “setDpi”void RPainterPathDevice::setDpi(double v)inline
setSize
Section titled “setSize”void RPainterPathDevice::setSize(const QSize &v)inline
setStrokePolygon
Section titled “setStrokePolygon”void RPainterPathDevice::setStrokePolygon(bool on)inline
metric
Section titled “metric”virtual int RPainterPathDevice::metric(PaintDeviceMetric metric) constvirtual const protected
paintEngine
Section titled “paintEngine”QPaintEngine * RPainterPathDevice::paintEngine() constconst protected
double RPainterPathDevice::dpiprivate
engine
Section titled “engine”RPainterPathEngine* RPainterPathDevice::engineprivate
QSize RPainterPathDevice::sizeprivate