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: 2023 Wolthera van Hövell tot Westerflier <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "KoClipMaskApplicatorFactoryImpl.h"
#ifndef DISABLE_CLIP_MASK_PAINTER_ON_MACOS
template<>
KoClipMaskApplicatorBase * KoClipMaskApplicatorFactoryImpl::create<xsimd::current_arch>()
{
return new KoClipMaskApplicator<xsimd::current_arch>();
}
#else
template<>
KoClipMaskApplicatorBase * KoClipMaskApplicatorFactoryImpl::create<xsimd::generic>()
{
return new KoClipMaskApplicator<xsimd::generic>();
}
#endif