File indexing completed on 2025-01-26 04:04:56
0001 /* This file is part of the KDE project 0002 * SPDX-FileCopyrightText: 2011 Jan Hambrecht <jaham@gmx.net> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef SVGCLIPPATHHELPER_H 0008 #define SVGCLIPPATHHELPER_H 0009 0010 #include <KoFlakeCoordinateSystem.h> 0011 #include <QList> 0012 0013 class KoShape; 0014 0015 class SvgClipPathHelper 0016 { 0017 public: 0018 SvgClipPathHelper(); 0019 ~SvgClipPathHelper(); 0020 0021 /// Set the clip path units type 0022 void setClipPathUnits(KoFlake::CoordinateSystem clipPathUnits); 0023 /// Returns the clip path units type 0024 KoFlake::CoordinateSystem clipPathUnits() const; 0025 0026 QList<KoShape *> shapes() const; 0027 void setShapes(const QList<KoShape *> &shapes); 0028 0029 bool isEmpty() const; 0030 0031 private: 0032 KoFlake::CoordinateSystem m_clipPathUnits; 0033 QList<KoShape*> m_shapes; 0034 }; 0035 0036 #endif // SVGCLIPPATHHELPER_H