Skip to content

RArcExporter

Class in Core Module
Header: #include <src/core/RArcExporter.h>
Inherits: RExporter

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.

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
RArc arc
RExporter & exporter

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.

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.

virtual void RArcExporter::exportPainterPaths(const QList< RPainterPath > &paths, double angle, const RVector &pos)

virtual

Reimplemented from exportPainterPaths.

virtual void RArcExporter::exportPainterPaths(const QList< RPainterPath > &paths, double z=0.0)

virtual inline

Reimplemented from exportPainterPaths.

virtual void RArcExporter::exportPoint(const RPoint &)

virtual inline

Exports a point with the current attributes.

Reimplemented from exportPoint.

virtual void RArcExporter::exportRay(const RRay &)

virtual inline

Exports an infinite ray.

Used for rays.

Reimplemented from exportRay.

virtual void RArcExporter::exportTriangle(const RTriangle &)

virtual inline

Exports a triangle with the current attributes.

Reimplemented from exportTriangle.

virtual void RArcExporter::exportXLine(const RXLine &)

virtual inline

Exports an infinite line.

Used for xlines (construction lines).

Reimplemented from exportXLine.

virtual RLinetypePattern RArcExporter::getLinetypePattern()

virtual inline

Reimplemented from getLinetypePattern.

virtual double RArcExporter::getLineTypePatternScale(const RLinetypePattern &p) const

virtual inline const

Reimplemented from getLineTypePatternScale.

RArc RArcExporter::arc

private

RExporter& RArcExporter::exporter

private