File indexing completed on 2024-12-22 04:16:09

0001 /*
0002  *  SPDX-FileCopyrightText: 2008 Boudewijn Rempt <boud@valdyas.org>
0003  *  SPDX-FileCopyrightText: 2008-2010 Lukáš Tvrdý <lukast.dev@gmail.com>
0004  *
0005  *  SPDX-License-Identifier: GPL-2.0-or-later
0006  */
0007 
0008 #include <QPainter>
0009 
0010 #include "kis_image.h"
0011 
0012 #include "kis_hairy_paintop_settings.h"
0013 #include "kis_brush_based_paintop_options_widget.h"
0014 #include "kis_boundary.h"
0015 #include "KisOptimizedBrushOutline.h"
0016 
0017 KisHairyPaintOpSettings::KisHairyPaintOpSettings(KisResourcesInterfaceSP resourcesInterface)
0018     : KisBrushBasedPaintOpSettings(resourcesInterface)
0019 {
0020 }
0021 
0022 KisOptimizedBrushOutline KisHairyPaintOpSettings::brushOutline(const KisPaintInformation &info, const OutlineMode &mode, qreal alignForZoom)
0023 {
0024     return brushOutlineImpl(info, mode, alignForZoom, getDouble("HairyBristle/scale"));
0025 }
0026 
0027 bool KisHairyPaintOpSettings::hasPatternSettings() const
0028 {
0029     return false;
0030 }