File indexing completed on 2024-06-16 04:17:30

0001 /*
0002  *  SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef KISMIRRORPROPERTIES_H
0007 #define KISMIRRORPROPERTIES_H
0008 
0009 struct MirrorProperties
0010 {
0011     MirrorProperties()
0012         : horizontalMirror(false),
0013           verticalMirror(false),
0014           coordinateSystemFlipped(false) {}
0015 
0016     bool horizontalMirror;
0017     bool verticalMirror;
0018 
0019     bool coordinateSystemFlipped;
0020 
0021     bool isEmpty() const {
0022         return !horizontalMirror && !verticalMirror;
0023     }
0024 };
0025 
0026 #endif // KISMIRRORPROPERTIES_H