about summary refs log tree commit diff stats
path: root/designer.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-08-25 08:51:41 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-08-25 08:51:41 -0400
commit25bc817bc4a68b81a0ff0c2485c2c903a8e3851f (patch)
tree9bcdbe2f67daee557ae9b4d1af7007944740f884 /designer.h
downloadfanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.tar.gz
fanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.tar.bz2
fanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.zip
Created bot
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 */