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++
986 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2024 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef KISPROJECTIONUPDATEFLAGS_H
#define KISPROJECTIONUPDATEFLAGS_H

#include <QFlags>

enum class KisProjectionUpdateFlag
{
    None = 0x0,
    /**
     * NoFilthy:
     *
     * Initiate a stack regeneration skipping the recalculation of the
     * filthy node's projection.
     *
     * Works exactly as pseudoFilthy->setDirty() with the only
     * exception that pseudoFilthy::updateProjection() will not be
     * called. That is used by KisRecalculateTransformMaskJob to avoid
     * cyclic dependencies.
     */
    NoFilthy = 0x1,

    /**
     * DontInvalidateFrames
     *
     * This update pass will not trigger any frame cache invalidations
     */
    DontInvalidateFrames = 0x2
};
Q_DECLARE_FLAGS(KisProjectionUpdateFlags, KisProjectionUpdateFlag)
Q_DECLARE_OPERATORS_FOR_FLAGS(KisProjectionUpdateFlags)

#endif // KISPROJECTIONUPDATEFLAGS_H