Krita Source Code Documentation
Loading...
Searching...
No Matches
KisRandomGenerator2D.h
Go to the documentation of this file.
1/*
2 * This file is part of the KDE project
3 *
4 * SPDX-FileCopyrightText: 2008 Cyrille Berger <cberger@cberger.net>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef _KIS_RANDOM_GENERATOR_2D_H_
10#define _KIS_RANDOM_GENERATOR_2D_H_
11
12#include <kritaimage_export.h>
13
14#include <QtGlobal>
15
23class KRITAIMAGE_EXPORT KisRandomGenerator2D
24{
25public:
29 KisRandomGenerator2D(quint64 seed);
35 quint64 randomAt(qint64 x, qint64 y);
40 double doubleRandomAt(qint64 x, qint64 y);
41private:
42 struct Private;
43 Private* const d;
44};
45
46#endif