Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapePainter.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
*
3
* SPDX-FileCopyrightText: 2007 Jan Hambrecht <jaham@gmx.net>
4
*
5
* SPDX-License-Identifier: LGPL-2.0-or-later
6
*/
7
8
#ifndef KOSHAPEPAINTER_H
9
#define KOSHAPEPAINTER_H
10
11
#include <QList>
12
#include <QRectF>
13
#include "kritaflake_export.h"
14
15
class
KoShape
;
16
class
QPainter;
17
class
QImage;
18
25
class
KRITAFLAKE_EXPORT
KoShapePainter
26
{
27
public
:
28
explicit
KoShapePainter
();
29
~KoShapePainter
();
30
35
void
setShapes(
const
QList<KoShape*>
&shapes);
36
42
void
paint(QPainter &painter);
43
52
void
paint(QPainter &painter,
const
QRect &painterRect,
const
QRectF &documentRect);
53
59
void
paint(QImage &image);
60
62
QRectF contentRect()
const
;
63
64
private
:
65
class
Private
;
66
Private
*
const
d
;
67
};
68
69
#endif
// KOSHAPEPAINTER_H
KoShapePainter
Definition
KoShapePainter.cpp:105
KoShapePainter::d
Private *const d
Definition
KoShapePainter.h:66
KoShape
Definition
KoShape.h:92
QList
Definition
KisQStringListFwd.h:16
Private
Definition
SvgTransformParser.cpp:20
libs
flake
svg
KoShapePainter.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52