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++
/*
* SPDX-FileCopyrightText: 2021 Dmitry Kazakov <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "KoOptimizedPixelDataScalerU8ToU16Base.h"
KoOptimizedPixelDataScalerU8ToU16Base::KoOptimizedPixelDataScalerU8ToU16Base(int channelsPerPixel)
: m_channelsPerPixel(channelsPerPixel)
{
}
KoOptimizedPixelDataScalerU8ToU16Base::~KoOptimizedPixelDataScalerU8ToU16Base()
{
}
int KoOptimizedPixelDataScalerU8ToU16Base::channelsPerPixel() const
{
return m_channelsPerPixel;
}