about summary refs log tree commit diff stats
path: root/designer.h
diff options
context:
space:
mode:
Diffstat (limited to 'designer.h')
-rw-r--r--designer.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/designer.h b/designer.h new file mode 100644 index 0000000..007d535 --- /dev/null +++ b/designer.h
@@ -0,0 +1,22 @@
1#ifndef DESIGNER_H_863F77D3
2#define DESIGNER_H_863F77D3
3
4#include <random>
5#include <string>
6#include <Magick++.h>
7
8class designer {
9public:
10
11 designer(std::string imagesPath);
12
13 Magick::Image generate(std::mt19937& rng) const;
14
15private:
16
17 mutable std::discrete_distribution<int> colDist_;
18 mutable std::discrete_distribution<int> lenDist_;
19 std::map<int, std::map<int, std::string>> comics_;
20};
21
22#endif /* end of include guard: DESIGNER_H_863F77D3 */