Krita Source Code Documentation
Loading...
Searching...
No Matches
KoHatchBackground.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 *
3 * SPDX-FileCopyrightText: 2012 Thorsten Zachmann <zachmann@kde.org>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KOHATCHBACKGROUND_H
9#define KOHATCHBACKGROUND_H
10
11#include "KoColorBackground.h"
12
17{
18public:
24
26 ~KoHatchBackground() override;
27
28 // reimplemented
29 void paint(QPainter &painter, const QPainterPath &fillPath) const override;
30
31private:
32 class Private;
33 QSharedDataPointer<Private> d;
34};
35
36#endif /* KOHATCHBACKGROUND_H */
A simple solid color shape background.
QSharedDataPointer< Private > d
void paint(QPainter &painter, const QPainterPath &fillPath) const override
Paints the background using the given fill path.