Krita Source Code Documentation
Loading...
Searching...
No Matches
KisParticleOpOptionData.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2010 Lukáš Tvrdý <lukast.dev@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KIS_PARTICLEOP_OPTION_DATA_H
7#define KIS_PARTICLEOP_OPTION_DATA_H
8
9
10#include "kis_types.h"
11#include <boost/operators.hpp>
12
15
16struct KisParticleOpOptionData : boost::equality_comparable<KisParticleOpOptionData>
17{
26
27 int particleCount {50};
29 qreal particleGravity {0.989};
30 qreal particleWeight {0.2};
31 qreal particleScaleX {0.3};
32 qreal particleScaleY {0.3};
33
34 bool read(const KisPropertiesConfiguration *setting);
35 void write(KisPropertiesConfiguration *setting) const;
36
38};
39
40#endif // KIS_PARTICLEOP_OPTION_DATA_H
static bool qFuzzyCompare(half p1, half p2)
KisPaintopLodLimitations lodLimitations() const
void write(KisPropertiesConfiguration *setting) const
bool read(const KisPropertiesConfiguration *setting)
friend bool operator==(const KisParticleOpOptionData &lhs, const KisParticleOpOptionData &rhs)