20#ifndef LIBREPCB_CORE_SCHEMATICPAINTER_H
21#define LIBREPCB_CORE_SCHEMATICPAINTER_H
26#include "../../export/graphicsexport.h"
27#include "../../types/alignment.h"
28#include "../../types/length.h"
29#include "../../utils/transform.h"
93 bool thumbnail =
false) noexcept;
98 void paint(QPainter& painter,
The Alignment class.
Definition: alignment.h:115
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:78
Settings for librepcb::GraphicsExport.
Definition: graphicsexportsettings.h:51
Base class for printing a page for librepcb::GraphicsExport.
Definition: graphicsexport.h:57
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
The Polygon class.
Definition: polygon.h:45
The Schematic class represents one schematic page of a project and is always part of a circuit.
Definition: schematic.h:74
Paints a librepcb::Schematic to a QPainter.
Definition: schematicpainter.h:54
QList< Symbol > mSymbols
Definition: schematicpainter.h:107
QList< Label > mNetLabels
Definition: schematicpainter.h:110
QList< Point > mJunctions
Definition: schematicpainter.h:108
QFont mDefaultFont
Definition: schematicpainter.h:105
QList< Polygon > mPolygons
Definition: schematicpainter.h:111
QList< Line > mNetLines
Definition: schematicpainter.h:109
QList< Text > mTexts
Definition: schematicpainter.h:112
SchematicPainter()=delete
void paint(QPainter &painter, const GraphicsExportSettings &settings) const noexcept override
Draw page content on a QPainter.
Definition: schematicpainter.cpp:133
QFont mNetLabelFont
Definition: schematicpainter.h:106
The Text class.
Definition: text.h:48
Definition: occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition: length.h:812
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition: length.h:696
Definition: schematicpainter.h:75
QString text
Definition: schematicpainter.h:79
Angle rotation
Definition: schematicpainter.h:77
bool mirrored
Definition: schematicpainter.h:78
Point position
Definition: schematicpainter.h:76
Definition: schematicpainter.h:69
UnsignedLength width
Definition: schematicpainter.h:72
Point endPosition
Definition: schematicpainter.h:71
Point startPosition
Definition: schematicpainter.h:70
Definition: schematicpainter.h:55
Alignment numbersAlignment
Definition: schematicpainter.h:66
QString numbers
Definition: schematicpainter.h:60
PositiveLength nameHeight
Definition: schematicpainter.h:63
UnsignedLength length
Definition: schematicpainter.h:58
Angle rotation
Definition: schematicpainter.h:57
Angle nameRotation
Definition: schematicpainter.h:62
Point numbersPosition
Definition: schematicpainter.h:65
Point namePosition
Definition: schematicpainter.h:61
Alignment nameAlignment
Definition: schematicpainter.h:64
QString name
Definition: schematicpainter.h:59
Point position
Definition: schematicpainter.h:56
Definition: schematicpainter.h:82
Transform transform
Definition: schematicpainter.h:83
QList< Pin > pins
Definition: schematicpainter.h:84
QList< Polygon > polygons
Definition: schematicpainter.h:85
QList< Circle > circles
Definition: schematicpainter.h:86