1 /* 2 * Copyright (C) 1992 Board of Regents of the University of Wisconsin 3 * on behalf of the Department of Electrical Engineering and Computer 4 * Science, University of Wisconsin-Milwaukee, Milwaukee, WI 53201. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * a copy of which is included here in file "GNU_GENERAL", 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 * 21 * The programs in this directory were developed by software engineering 22 * teams as part of the course "Introduction to Software Engineering" 23 * under the supervision of Professor G. Davida. 24 * This is a modification of a program written or modified by 25 * others. The original copyrights, as per GNU General Public License, 26 * may still be applicable. The UWM copyright is applicable only 27 * the those parts generated at UWM. 28 * 29 * Please send all changes, enhancements, and other comments about this 30 * software to 31 * soft-eng@cs.uwm.edu 32 * 33 * No Warranty, expressed or implied, comes with this software. 34 * This software is intended to be used by not-for-profit 35 * organizations or by individuals for personal HOME use. 36 * This software, or any of its parts, may not be used by for-profit 37 * organization, regardless of application or intended product or 38 * customer, without the permission of the Board of Regents of the 39 * University of Wisconsin. 40 * 41 * Contact: soft-eng@cs.uwm.edu 42 * or 43 * 44 * Software Engineering Coordinator 45 * Computer Science 46 * Department of EECS 47 * University of Wisconsin - Milwaukee 48 * Milwaukee, WI 53201 49 * 414-229-4677 50 * 51 * HISTORY,CLAIMS and CONTRIBUTIONS 52 */ 53 /* These patterns were created using the bitmap editor. They are used */ 54 /* in the plot_pie, plot_bar, and plot_stacked_bar procedures. */ 55 /* Dan Gruber - 11/13/91 */ 56 57 #define white_width 1 58 #define white_height 1 59 static char white_bits[] = { 60 0x01}; 61 62 #define gray1_width 4 63 #define gray1_height 4 64 static char gray1_bits[] = { 65 0xfe, 0xff, 0xfb, 0xff}; 66 67 #define gray2_width 16 68 #define gray2_height 16 69 static char gray2_bits[] = { 70 0xaa, 0xaa, 0xff, 0xff, 0xaa, 0xaa, 0xff, 0xff, 0xaa, 0xaa, 0xff, 0xff, 71 0xaa, 0xaa, 0xff, 0xff, 0xaa, 0xaa, 0xff, 0xff, 0xaa, 0xaa, 0xff, 0xff, 72 0xaa, 0xaa, 0xff, 0xff, 0xaa, 0xaa, 0xff, 0xff}; 73 74 #define gray3_width 2 75 #define gray3_height 2 76 static char gray3_bits[] = { 77 0x01, 0x02}; 78 79 #define gray4_width 16 80 #define gray4_height 16 81 static char gray4_bits[] = { 82 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, 83 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, 84 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00}; 85 86 #define gray5_width 4 87 #define gray5_height 4 88 static char gray5_bits[] = { 89 0x01, 0x00, 0x04, 0x00}; 90 91 #define black_width 1 92 #define black_height 1 93 static char black_bits[] = { 94 0x00}; 95 96 #define horiz_lines_width 1 97 #define horiz_lines_height 5 98 static char horiz_lines_bits[] = { 99 0x00, 0x00, 0x01, 0x00, 0x00}; 100 101 #define vert_lines_width 5 102 #define vert_lines_height 1 103 static char vert_lines_bits[] = { 104 0x04}; 105 106 #define checker_width 10 107 #define checker_height 10 108 static char checker_bits[] = { 109 0x1f, 0x00, 0x1f, 0x00, 0x1f, 0x00, 0x1f, 0x00, 0x1f, 0x00, 0xe0, 0x03, 110 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03}; 111 112 #define diag_l_width 7 113 #define diag_l_height 7 114 static char diag_l_bits[] = { 115 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40}; 116 117 #define diag_r_width 7 118 #define diag_r_height 7 119 static char diag_r_bits[] = { 120 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01}; 121 122 #define light_diamond_width 7 123 #define light_diamond_height 7 124 static char light_diamond_bits[] = { 125 0xbe, 0xdd, 0xeb, 0xf7, 0xeb, 0xdd, 0xbe}; 126 127 #define dark_diamond_width 7 128 #define dark_diamond_height 7 129 static char dark_diamond_bits[] = { 130 0x41, 0x22, 0x14, 0x08, 0x14, 0x22, 0x41}; 131 132 #define light_cross_weave_width 16 133 #define light_cross_weave_height 16 134 static char light_cross_weave_bits[] = { 135 0xaa, 0xaa, 0x77, 0x77, 0xaa, 0xaa, 0xdd, 0xdd, 0xaa, 0xaa, 0x77, 0x77, 136 0xaa, 0xaa, 0xdd, 0xdd, 0xaa, 0xaa, 0x77, 0x77, 0xaa, 0xaa, 0xdd, 0xdd, 137 0xaa, 0xaa, 0x77, 0x77, 0xaa, 0xaa, 0xdd, 0xdd}; 138 139 #define dark_cross_weave_width 16 140 #define dark_cross_weave_height 16 141 static char dark_cross_weave_bits[] = { 142 0x55, 0x55, 0x88, 0x88, 0x55, 0x55, 0x22, 0x22, 0x55, 0x55, 0x88, 0x88, 143 0x55, 0x55, 0x22, 0x22, 0x55, 0x55, 0x88, 0x88, 0x55, 0x55, 0x22, 0x22, 144 0x55, 0x55, 0x88, 0x88, 0x55, 0x55, 0x22, 0x22}; 145 146 #define light_root_weave_width 4 147 #define light_root_weave_height 4 148 static char light_root_weave_bits[] = { 149 0xf8, 0xf2, 0xf4, 0xf1}; 150 151 #define dark_root_weave_width 4 152 #define dark_root_weave_height 4 153 static char dark_root_weave_bits[] = { 154 0x07, 0x0d, 0x0b, 0x0e}; 155 156 #define light_wide_weave_width 16 157 #define light_wide_weave_height 16 158 static char light_wide_weave_bits[] = { 159 0x11, 0x11, 0xb8, 0xb8, 0x7c, 0x7c, 0x3a, 0x3a, 0x11, 0x11, 0xa3, 0xa3, 160 0xc7, 0xc7, 0x8b, 0x8b, 0x11, 0x11, 0xb8, 0xb8, 0x7c, 0x7c, 0x3a, 0x3a, 161 0x11, 0x11, 0xa3, 0xa3, 0xc7, 0xc7, 0x8b, 0x8b}; 162 163 #define dark_wide_weave_width 16 164 #define dark_wide_weave_height 16 165 static char dark_wide_weave_bits[] = { 166 0xee, 0xee, 0x47, 0x47, 0x83, 0x83, 0xc5, 0xc5, 0xee, 0xee, 0x5c, 0x5c, 167 0x38, 0x38, 0x74, 0x74, 0xee, 0xee, 0x47, 0x47, 0x83, 0x83, 0xc5, 0xc5, 168 0xee, 0xee, 0x5c, 0x5c, 0x38, 0x38, 0x74, 0x74}; 169