xref: /haiku/src/libs/print/libprint/tools/original_dither_pattern.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 /*
2  * These patterns are defined referring to Japanese Monthly C Magazine (May 2000 Vol.12 No.5).
3  */
4 
5 const unsigned char pattern4x4_type1[MAX_ELEMENT] =  {
6 	 0,  8,  2, 10,
7 	12,  4, 14,  6,
8 	 3, 11,  1,  9,
9 	15,  7, 13,  5
10 };
11 
12 const unsigned char pattern4x4_type2[MAX_ELEMENT] =  {
13 	 9,  8,  7,  6,
14 	10,  1,  0,  5,
15 	11,  2,  3,  4,
16 	12, 13, 14,  15
17 };
18 
19 const unsigned char pattern4x4_type3[MAX_ELEMENT] =  {
20 	 0,  2, 14, 12,
21 	 8, 10,  5,  7,
22 	15, 13,  1,  3,
23 	 4,  6,  9,  11
24 };
25