20#ifndef LIBREPCB_CORE_TRANSFORM_H
21#define LIBREPCB_CORE_TRANSFORM_H
26#include "../geometry/path.h"
27#include "../types/angle.h"
28#include "../types/point.h"
71 const Angle& rotation =
Angle(0),
bool mirrored =
false) noexcept
122 bool map(
bool mirror)
const noexcept;
196 template <
typename T>
197 T
map(
const T& container)
const noexcept {
199 for (
auto& item : copy) {
214 template <
typename T>
215 T
mapPx(
const T& obj)
const noexcept {
231 return !(*
this == rhs);
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition angle.h:76
qreal toDeg() const noexcept
Get the Angle in degrees.
Definition angle.h:179
The Layer class provides all supported geometry layers.
Definition layer.h:42
The Path class represents a list of vertices connected by straight lines or circular arc segments.
Definition path.h:57
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
QPointF toPxQPointF() const noexcept
Get the point as a QPointF object in pixels (for QGraphics* objects)
Definition point.h:276
Definition occmodel.cpp:76
type_safe::constrained_type< Path, NonEmptyPathConstraint, NonEmptyPathVerifier > NonEmptyPath
Definition path.h:231