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++
912 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2020 Scott Petrovic <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef LIBKIS_PAINTINGRESOURCES_H
#define LIBKIS_PAINTINGRESOURCES_H

#include "kis_figure_painting_tool_helper.h"

/**
 * @brief The PaintingResources namespace
 * Sets up information related to making painting strokes.
 * Used primarily in the Node class
 *
 */
namespace PaintingResources
{
    // These are set in Node.sip
    const QString defaultStrokeStyle = "ForegroundColor";
    const QString defaultFillStyle = "None";

    KisFigurePaintingToolHelper createHelper(KisImageWSP image,
                                             KisNodeSP node,
                                             const QString strokeStyle = defaultStrokeStyle,
                                             const QString fillStyle = defaultFillStyle);

};

#endif // LIBKIS_PAINTINGRESOURCES_H