Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPerStrokeRandomSource.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef KISPERSTROKERANDOMSOURCE_H
8
#define KISPERSTROKERANDOMSOURCE_H
9
10
#include <QScopedPointer>
11
#include "
kis_shared.h
"
12
#include "
kis_shared_ptr.h
"
13
14
#include "kritaimage_export.h"
15
16
17
class
KRITAIMAGE_EXPORT
KisPerStrokeRandomSource
:
public
KisShared
18
{
19
public
:
20
KisPerStrokeRandomSource
();
21
KisPerStrokeRandomSource
(
const
KisPerStrokeRandomSource
&rhs);
22
23
~KisPerStrokeRandomSource
();
24
28
int
generate(
const
QString &key,
int
min,
int
max)
const
;
29
33
qreal generateNormalized(
const
QString &key)
const
;
34
35
private
:
36
struct
Private
;
37
const
QScopedPointer<Private>
m_d
;
38
};
39
40
class
KisPerStrokeRandomSource
;
41
typedef
KisSharedPtr<KisPerStrokeRandomSource>
KisPerStrokeRandomSourceSP
;
42
typedef
KisWeakSharedPtr<KisPerStrokeRandomSource>
KisPerStrokeRandomSourceWSP
;
43
44
#endif
// KISPERSTROKERANDOMSOURCE_H
KisPerStrokeRandomSourceWSP
KisWeakSharedPtr< KisPerStrokeRandomSource > KisPerStrokeRandomSourceWSP
Definition
KisPerStrokeRandomSource.h:42
KisPerStrokeRandomSourceSP
KisSharedPtr< KisPerStrokeRandomSource > KisPerStrokeRandomSourceSP
Definition
KisPerStrokeRandomSource.h:41
KisPerStrokeRandomSource
Definition
KisPerStrokeRandomSource.h:18
KisPerStrokeRandomSource::m_d
const QScopedPointer< Private > m_d
Definition
KisPerStrokeRandomSource.h:37
KisSharedPtr
Definition
kis_shared_ptr.h:57
KisShared
Definition
kis_shared.h:14
KisWeakSharedPtr
Definition
kis_shared_ptr.h:238
kis_shared.h
kis_shared_ptr.h
Private
Definition
SvgTransformParser.cpp:20
libs
image
brushengine
KisPerStrokeRandomSource.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52