Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
555 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2022 Agata Cacko <[email protected]>
 *  SPDX-FileCopyrightText: 2009, 2010 Lukáš Tvrdý ([email protected])
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#include "KisGridShapeOptionData.h"

#include "kis_properties_configuration.h"


bool KisGridShapeOptionData::read(const KisPropertiesConfiguration *setting)
{
	shape = setting->getInt(GRIDSHAPE_SHAPE, 0);
    return true;
}

void KisGridShapeOptionData::write(KisPropertiesConfiguration *setting) const
{
	setting->setProperty(GRIDSHAPE_SHAPE, shape);
}