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"
97 bool thumbnail =
false) noexcept;
102 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:76
Settings for librepcb::GraphicsExport.
Definition graphicsexportsettings.h:51
Base class for printing a page for librepcb::GraphicsExport.
Definition graphicsexport.h:56
The Image class.
Definition image.h:49
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
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:81
Paints a librepcb::Schematic to a QPainter.
Definition schematicpainter.h:55
QList< Symbol > mSymbols
Definition schematicpainter.h:111
QList< Label > mNetLabels
Definition schematicpainter.h:117
QFont mDefaultFont
Definition schematicpainter.h:109
QList< Point > mNetJunctions
Definition schematicpainter.h:115
QList< Label > mBusLabels
Definition schematicpainter.h:114
QList< Polygon > mPolygons
Definition schematicpainter.h:118
QList< Line > mNetLines
Definition schematicpainter.h:116
QList< Text > mTexts
Definition schematicpainter.h:119
SchematicPainter()=delete
QList< Image > mImages
Definition schematicpainter.h:120
void paint(QPainter &painter, const GraphicsExportSettings &settings) const noexcept override
Draw page content on a QPainter.
Definition schematicpainter.cpp:207
QList< Point > mBusJunctions
Definition schematicpainter.h:112
QFont mNetLabelFont
Definition schematicpainter.h:110
QList< Line > mBusLines
Definition schematicpainter.h:113
QHash< QString, QImage > mImageFiles
Definition schematicpainter.h:122
The Text class.
Definition text.h:48
Definition occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition length.h:694
Definition schematicpainter.h:76
QString text
Definition schematicpainter.h:80
Angle rotation
Definition schematicpainter.h:78
bool mirrored
Definition schematicpainter.h:79
Point position
Definition schematicpainter.h:77
Definition schematicpainter.h:70
UnsignedLength width
Definition schematicpainter.h:73
Point endPosition
Definition schematicpainter.h:72
Point startPosition
Definition schematicpainter.h:71
Definition schematicpainter.h:56
Alignment numbersAlignment
Definition schematicpainter.h:67
QString numbers
Definition schematicpainter.h:61
PositiveLength nameHeight
Definition schematicpainter.h:64
UnsignedLength length
Definition schematicpainter.h:59
Angle rotation
Definition schematicpainter.h:58
Angle nameRotation
Definition schematicpainter.h:63
Point numbersPosition
Definition schematicpainter.h:66
Point namePosition
Definition schematicpainter.h:62
Alignment nameAlignment
Definition schematicpainter.h:65
QString name
Definition schematicpainter.h:60
Point position
Definition schematicpainter.h:57
Definition schematicpainter.h:83
Transform transform
Definition schematicpainter.h:84
QHash< QString, QImage > imageFiles
Definition schematicpainter.h:90
QList< Image > images
Definition schematicpainter.h:88
QList< Pin > pins
Definition schematicpainter.h:85
QList< Polygon > polygons
Definition schematicpainter.h:86
QList< Circle > circles
Definition schematicpainter.h:87