Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_stroke_random_source.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_STROKE_RANDOM_SOURCE_H
8#define __KIS_STROKE_RANDOM_SOURCE_H
9
10#include <QScopedPointer>
11
12#include "kritaimage_export.h"
13#include "kis_random_source.h"
15
16
24class KRITAIMAGE_EXPORT KisStrokeRandomSource
25{
26public:
29 KisStrokeRandomSource& operator=(const KisStrokeRandomSource &rhs);
30
32
34 KisPerStrokeRandomSourceSP perStrokeSource() const;
35
36 int levelOfDetail() const;
37 void setLevelOfDetail(int value);
38
39private:
40 struct Private;
41 const QScopedPointer<Private> m_d;
42};
43
44#endif /* __KIS_STROKE_RANDOM_SOURCE_H */
float value(const T *src, size_t ch)
KisMagneticGraph::vertex_descriptor source(typename KisMagneticGraph::edge_descriptor e, KisMagneticGraph g)
const QScopedPointer< Private > m_d