RArcExporter
Class in Core Module
Header: #include <src/core/RArcExporter.h>
Inherits: RExporter
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.
Public Functions
Section titled “Public Functions”RArcExporter(RExporter &exporter, const RArc &arc, double offset) |
|
| virtual void | exportLineSegment(const RLine &line, double angle=RNANDOUBLE)Exports a line segment (a line without pattern). |
| virtual void | exportPainterPaths(const QList< RPainterPath > &paths, double angle, const RVector &pos) |
| virtual void | exportPainterPaths(const QList< RPainterPath > &paths, double z=0.0) |
| virtual void | exportPoint(const RPoint &)Exports a point with the current attributes. |
| virtual void | exportRay(const RRay &)Exports an infinite ray. |
| virtual void | exportTriangle(const RTriangle &)Exports a triangle with the current attributes. |
| virtual void | exportXLine(const RXLine &)Exports an infinite line. |
| virtual RLinetypePattern | getLinetypePattern() |
| virtual double | getLineTypePatternScale(const RLinetypePattern &p) const |
Private Attributes
Section titled “Private Attributes”| RArc | arc |
| RExporter & | exporter |
Member Documentation
Section titled “Member Documentation”RArcExporter
Section titled “RArcExporter”RArcExporter::RArcExporter(RExporter &exporter, const RArc &arc, double offset)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.
exportLineSegment
Section titled “exportLineSegment”virtual void RArcExporter::exportLineSegment(const RLine &line, double angle=RNANDOUBLE)virtual
Exports a line segment (a line without pattern).
This is called from the standard implementation of exportLine for every dash in a dashed line.
Reimplemented from exportLineSegment.
exportPainterPaths
Section titled “exportPainterPaths”virtual void RArcExporter::exportPainterPaths(const QList< RPainterPath > &paths, double angle, const RVector &pos)virtual
Reimplemented from exportPainterPaths.
exportPainterPaths
Section titled “exportPainterPaths”virtual void RArcExporter::exportPainterPaths(const QList< RPainterPath > &paths, double z=0.0)virtual inline
Reimplemented from exportPainterPaths.
exportPoint
Section titled “exportPoint”virtual void RArcExporter::exportPoint(const RPoint &)virtual inline
Exports a point with the current attributes.
Reimplemented from exportPoint.
exportRay
Section titled “exportRay”virtual void RArcExporter::exportRay(const RRay &)virtual inline
Exports an infinite ray.
Used for rays.
Reimplemented from exportRay.
exportTriangle
Section titled “exportTriangle”virtual void RArcExporter::exportTriangle(const RTriangle &)virtual inline
Exports a triangle with the current attributes.
Reimplemented from exportTriangle.
exportXLine
Section titled “exportXLine”virtual void RArcExporter::exportXLine(const RXLine &)virtual inline
Exports an infinite line.
Used for xlines (construction lines).
Reimplemented from exportXLine.
getLinetypePattern
Section titled “getLinetypePattern”virtual RLinetypePattern RArcExporter::getLinetypePattern()virtual inline
Reimplemented from getLinetypePattern.
getLineTypePatternScale
Section titled “getLineTypePatternScale”virtual double RArcExporter::getLineTypePatternScale(const RLinetypePattern &p) constvirtual inline const
Reimplemented from getLineTypePatternScale.
RArc RArcExporter::arcprivate
exporter
Section titled “exporter”RExporter& RArcExporter::exporterprivate