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++
869 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2008 Boudewijn Rempt <[email protected]>
 *  SPDX-FileCopyrightText: 2008-2010 Lukáš Tvrdý <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#include <QPainter>

#include "kis_image.h"

#include "kis_hairy_paintop_settings.h"
#include "kis_brush_based_paintop_options_widget.h"
#include "kis_boundary.h"
#include "KisOptimizedBrushOutline.h"

KisHairyPaintOpSettings::KisHairyPaintOpSettings(KisResourcesInterfaceSP resourcesInterface)
    : KisBrushBasedPaintOpSettings(resourcesInterface)
{
}

KisOptimizedBrushOutline KisHairyPaintOpSettings::brushOutline(const KisPaintInformation &info, const OutlineMode &mode, qreal alignForZoom)
{
    return brushOutlineImpl(info, mode, alignForZoom, getDouble("HairyBristle/scale"));
}

bool KisHairyPaintOpSettings::hasPatternSettings() const
{
    return false;
}