20#ifndef LIBREPCB_EDITOR_BACKGROUNDIMAGESETTINGS_H
21#define LIBREPCB_EDITOR_BACKGROUNDIMAGESETTINGS_H
56 QPixmap
buildPixmap(
const QColor& bgColor)
const noexcept;
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition angle.h:76
This class represents absolute, well-formatted paths to files or directories.
Definition filepath.h:127
Definition occmodel.cpp:77
Settings about a background image ("underlay")
Definition backgroundimagesettings.h:48
QPixmap buildPixmap(const QColor &bgColor) const noexcept
Definition backgroundimagesettings.cpp:114
bool tryLoadFromDir(const FilePath &dir) noexcept
Definition backgroundimagesettings.cpp:60
Angle rotation
Rotation in scene.
Definition backgroundimagesettings.h:51
QList< std::pair< QPointF, Point > > references
References in image.
Definition backgroundimagesettings.h:52
QImage image
The original loaded image.
Definition backgroundimagesettings.h:50
bool enabled
Whether the background is enabled or not.
Definition backgroundimagesettings.h:49
QTransform calcTransform() const noexcept
Definition backgroundimagesettings.cpp:161
void saveToDir(const FilePath &dir) noexcept
Definition backgroundimagesettings.cpp:85