Krita Source Code Documentation
Loading...
Searching...
No Matches
KisGridShapeOptionData.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Agata Cacko <cacko.azh@gmail.com>
3 * SPDX-FileCopyrightText: 2009, 2010 Lukáš Tvrdý (lukast.dev@gmail.com)
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
8
10
11
13{
14 shape = setting->getInt(GRIDSHAPE_SHAPE, 0);
15 return true;
16}
17
const QString GRIDSHAPE_SHAPE
bool read(const KisPropertiesConfiguration *setting)
int shape
Ellipse, rectangle, line, pixel, anti-aliased pixel.
void write(KisPropertiesConfiguration *setting) const
virtual void setProperty(const QString &name, const QVariant &value)
int getInt(const QString &name, int def=0) const