RPainterPathEngine
Class in Core Module
Header: #include <src/core/RPainterPathEngine.h>
Inherits: QPaintEngine
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. Experimental.
Public Functions
Section titled “Public Functions”RPainterPathEngine() |
|
| virtual | ~RPainterPathEngine() |
| virtual bool | begin(QPaintDevice *device) |
| virtual void | drawPath(const QPainterPath &path) |
| virtual void | drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) |
| virtual void | drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode) |
| virtual bool | end() |
| QList< RPainterPath > | getPainterPaths() |
| void | setStrokePolygon(bool on) |
| virtual QPaintEngine::Type | type() const |
| virtual void | updateState(const QPaintEngineState &state) |
Private Attributes
Section titled “Private Attributes”| QList< RPainterPath > | paths |
| bool | strokePolygon |
| QTransform | transform |
Member Documentation
Section titled “Member Documentation”RPainterPathEngine
Section titled “RPainterPathEngine”RPainterPathEngine::RPainterPathEngine()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.
~RPainterPathEngine
Section titled “~RPainterPathEngine”virtual RPainterPathEngine::~RPainterPathEngine()virtual
virtual bool RPainterPathEngine::begin(QPaintDevice *device)virtual
drawPath
Section titled “drawPath”virtual void RPainterPathEngine::drawPath(const QPainterPath &path)virtual
drawPixmap
Section titled “drawPixmap”virtual void RPainterPathEngine::drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)virtual
drawPolygon
Section titled “drawPolygon”virtual void RPainterPathEngine::drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode)virtual
virtual bool RPainterPathEngine::end()virtual
getPainterPaths
Section titled “getPainterPaths”QList< RPainterPath > RPainterPathEngine::getPainterPaths()setStrokePolygon
Section titled “setStrokePolygon”void RPainterPathEngine::setStrokePolygon(bool on)inline
virtual QPaintEngine::Type RPainterPathEngine::type() constvirtual const
updateState
Section titled “updateState”virtual void RPainterPathEngine::updateState(const QPaintEngineState &state)virtual
QList<RPainterPath> RPainterPathEngine::pathsprivate
strokePolygon
Section titled “strokePolygon”bool RPainterPathEngine::strokePolygonprivate
transform
Section titled “transform”QTransform RPainterPathEngine::transformprivate