summaryrefslogtreecommitdiff
path: root/include/benoit.hh
blob: 09907aaaa49569ba1d82812dba1a6ee5a59df0b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# if !defined(BENOIT__HEADER)
# define BENOIT__HEADER
# include <cstddef>
# include <cstdint>
# include <vector>
class benoit {
public:
	benoit(int const argc,char const * * argv);
private:
	enum class imgfmt_t {
		jpeg,
		png,
		ppm,
		webp,
	};
	benoit::imgfmt_t   imgfmt  = benoit::imgfmt_t::ppm;
	long               resx    = 0x4000;
	long               resy    = 0x4000;
	long double        imag    = 0x0p0;
	long double        real    = 0x0p0;
	long double        zoom    = 0x1p0;
	unsigned long long maxiter = 0x100;
	void               print(char const * msg);
	std::size_t        strlen(char const * str) noexcept;
};
# endif