|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RPAINTERPATHEXPORTER_H
21 #define RPAINTERPATHEXPORTER_H
37 RExporter(), exportZeroLinesAsPoints(true), ignoreZeroLines(false) { }
40 RExporter(doc), exportZeroLinesAsPoints(true), ignoreZeroLines(false) { }
63 exportZeroLinesAsPoints = on;
69 ignoreLineTypePatternScale = on;
virtual void exportPoint(const RPoint &point)
Exports a point with the current attributes.
Definition: RPainterPathExporter.h:53
void setIgnoreLineTypePatternScale(bool on)
Definition: RPainterPathExporter.h:68
RPainterPathExporter(RDocument &doc)
Definition: RPainterPathExporter.h:39
virtual void exportRay(const RRay &ray)
Exports an infinite ray.
Definition: RPainterPathExporter.h:49
virtual void exportPainterPaths(const QList< RPainterPath > &paths, double z=0.0)
Definition: RExporter.cpp:1598
void setExportZeroLinesAsPoints(bool on)
Definition: RPainterPathExporter.h:62
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RPoint.h:38
virtual void exportTriangle(const RTriangle &triangle)
Exports a triangle with the current attributes.
Definition: RPainterPathExporter.h:56
RPainterPathExporter()
Definition: RPainterPathExporter.h:36
bool ignoreZeroLines
Definition: RPainterPathExporter.h:77
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RPainterPathExporter.h:34
Low-level mathematical representation of a line.
Definition: RLine.h:41
bool ignoreLineTypePatternScale
Definition: RPainterPathExporter.h:78
#define RNANDOUBLE
Definition: RMath.h:71
virtual void exportLineSegment(const RLine &line, double angle=RNANDOUBLE)=0
Exports a line segment (a line without pattern).
Abstract base class for exporters.
Definition: RExporter.h:72
Extended painter path with a z-level and a pen.
Definition: RPainterPath.h:46
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RLinetypePattern.h:45
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
Low-level mathematical representation of a ray.
Definition: RRay.h:42
Low-level mathematical representation of a triangle.
Definition: RTriangle.h:46
virtual double getLineTypePatternScale(const RLinetypePattern &p) const
Definition: RExporter.cpp:1641
Low-level mathematical representation of an infinite line.
Definition: RXLine.h:42
virtual void exportXLine(const RXLine &xLine)
Exports an infinite line.
Definition: RPainterPathExporter.h:45
bool exportZeroLinesAsPoints
Definition: RPainterPathExporter.h:76
RPainterPath path
Definition: RPainterPathExporter.h:75
#define QCADCORE_EXPORT
Definition: core_global.h:10
void setIgnoreZeroLines(bool on)
Definition: RPainterPathExporter.h:65