Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAnimatedBrushAnnotation.cpp
Go to the documentation of this file.
1/*
2 * This file is part of the KDE project
3 *
4 * SPDX-FileCopyrightText: 2015 Boudewijn Rempt <boud@valdyas.org>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
9
10#include <QByteArray>
11#include <QBuffer>
12
14
16 : KisAnnotation("ImagePipe Parasite",
17 i18n("Brush selection information for animated brushes"),
18 QByteArray())
19{
20 QBuffer buf(&m_annotation);
21 buf.open(QBuffer::WriteOnly);
22 parasite.saveToDevice(&buf);
23 buf.close();
24}
KisAnimatedBrushAnnotation(const KisPipeBrushParasite &parasite)
A data extension mechanism for Krita.
QByteArray m_annotation
bool saveToDevice(QIODevice *dev) const