Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_layer_style_filter_environment.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef __KIS_LAYER_STYLE_FILTER_ENVIRONMENT_H
8
#define __KIS_LAYER_STYLE_FILTER_ENVIRONMENT_H
9
10
#include <QScopedPointer>
11
#include <QRect>
12
13
#include <kritaimage_export.h>
14
#include "
kis_types.h
"
15
#include <
KoPattern.h
>
16
17
class
KisPainter
;
18
class
KisLayer
;
19
class
QPainterPath;
20
class
QBitArray;
21
class
KisCachedPaintDevice
;
22
class
KisCachedSelection
;
23
24
25
class
KRITAIMAGE_EXPORT
KisLayerStyleFilterEnvironment
26
{
27
public
:
28
KisLayerStyleFilterEnvironment
(
KisLayer
*sourceLayer);
29
~KisLayerStyleFilterEnvironment
();
30
31
QRect layerBounds()
const
;
32
QRect defaultBounds()
const
;
33
int
currentLevelOfDetail()
const
;
34
35
void
setupFinalPainter(
KisPainter
*gc,
36
quint8 opacity,
37
const
QBitArray &channelFlags)
const
;
38
39
KisPixelSelectionSP
cachedRandomSelection
(
const
QRect &requestedRect)
const
;
40
41
KoPatternSP
cachedFlattenedPattern
(
KoPatternSP
pattern)
const
;
42
43
KisCachedSelection
* cachedSelection();
44
KisCachedPaintDevice
* cachedPaintDevice();
45
46
private
:
47
struct
Private
;
48
const
QScopedPointer<Private>
m_d
;
49
};
50
51
#endif
/* __KIS_LAYER_STYLE_FILTER_ENVIRONMENT_H */
KoPattern.h
KisCachedPaintDevice
Definition
kis_cached_paint_device.h:19
KisCachedSelection
Definition
kis_cached_paint_device.h:90
KisPainter
Definition
kis_painter.h:66
KisSharedPtr< KisPixelSelection >
QSharedPointer< KoPattern >
kis_types.h
Private
Definition
SvgTransformParser.cpp:20
KisLayerStyleFilterEnvironment
Definition
kis_layer_style_filter_environment.cpp:29
KisLayerStyleFilterEnvironment::cachedRandomSelection
KisPixelSelectionSP cachedRandomSelection(const QRect &requestedRect) const
KisLayerStyleFilterEnvironment::cachedFlattenedPattern
KoPatternSP cachedFlattenedPattern(KoPatternSP pattern) const
KisLayerStyleFilterEnvironment::m_d
const QScopedPointer< Private > m_d
Definition
kis_layer_style_filter_environment.h:48
KisLayer
Definition
kis_layer.cc:161
libs
image
layerstyles
kis_layer_style_filter_environment.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52