# # This file describes the various display styles that are available # in Magic. It is intended for selection of B&W stipple patterns # only, and probably shouldn't be used in any normal technology. # See "Magic Maintainer's Manual #3: The Display Style and Glyph # Files" for details on the file format. # # rcsid $Header: /ufs/repository/magic/graphics/examples/stipple.bw.dstyle,v 1.1.1.1 2000/03/29 18:35:03 rajit Exp $ # # This display style file is designed for black-and-white displays # (only one bit per pixel). Because there's no color, all of the # information is displayed with different stipple patterns. Needless # to say, it's pretty hard to see things on the screen, but it's # better than nothing. # display_styles 1 # stipple short long # num mask color outline fill number name name # ----+------+--------+--------+------+-------+------+-------------- 1 001 001 377 stipple 1 - stipple1 2 001 001 377 stipple 2 - stipple2 3 001 001 377 stipple 3 - stipple3 4 001 001 377 stipple 4 - stipple4 5 001 001 377 stipple 5 - stipple5 6 001 001 377 stipple 6 - stipple6 7 001 001 377 stipple 7 - stipple7 8 001 001 377 stipple 8 - stipple8 9 001 001 377 stipple 9 - stipple9 10 001 001 377 stipple 10 - stipple10 11 001 001 377 stipple 11 - stipple11 12 001 001 377 stipple 12 - stipple12 13 001 001 377 stipple 13 - stipple13 14 001 001 377 stipple 14 - stipple14 15 001 001 377 stipple 15 - stipple15 16 001 001 377 stipple 16 - stipple16 17 001 001 377 stipple 17 - stipple17 18 001 001 377 stipple 18 - stipple18 19 001 001 377 stipple 19 - stipple19 20 001 001 377 stipple 20 - stipple20 21 001 001 377 stipple 21 - stipple21 22 001 001 377 stipple 22 - stipple22 23 001 001 377 stipple 23 - stipple23 24 001 001 377 stipple 24 - stipple24 25 001 001 377 stipple 25 - stipple25 26 001 001 377 stipple 26 - stipple26 27 001 001 377 stipple 27 - stipple27 28 001 001 377 stipple 28 - stipple28 # # Opaque stipples and such for mask display: # stipple short long # num mask color outline fill number name name # ----+------+--------+--------+------+-------+------+-------------- 32 001 001 377 cross 0 - contact_X'es 33 001 001 377 stipple 2 - contact_waffle 34 001 001 377 stipple 5 - overglass 35 001 001 000 stipple 1 - die boundary # 37 001 001 000 stipple 14 - rotate 38 001 001 000 stipple 3 - fence 39 001 001 000 stipple 12 - magnet # 40 001 001 000 stipple 5 - check_paint 41 001 001 000 stipple 7 - check_subcells 42 001 001 000 stipple 4 - error_waffle # #------------------------------------------------------ # Versions of previous layers to use in non-edit cells: #------------------------------------------------------ # # 65 001 001 377 stipple 1 - stipple1 66 001 001 377 stipple 2 - stipple2 67 001 001 377 stipple 3 - stipple3 68 001 001 377 stipple 4 - stipple4 69 001 001 377 stipple 5 - stipple5 70 001 001 377 stipple 6 - stipple6 71 001 001 377 stipple 7 - stipple7 72 001 001 377 stipple 8 - stipple8 73 001 001 377 stipple 9 - stipple9 74 001 001 377 stipple 10 - stipple10 75 001 001 377 stipple 11 - stipple11 76 001 001 377 stipple 12 - stipple12 77 001 001 377 stipple 13 - stipple13 78 001 001 377 stipple 14 - stipple14 79 001 001 377 stipple 15 - stipple15 80 001 001 377 stipple 16 - stipple16 81 001 001 377 stipple 17 - stipple17 82 001 001 377 stipple 18 - stipple18 83 001 001 377 stipple 19 - stipple19 84 001 001 377 stipple 20 - stipple20 85 001 001 377 stipple 21 - stipple21 86 001 001 377 stipple 22 - stipple22 87 001 001 377 stipple 23 - stipple23 88 001 001 377 stipple 24 - stipple24 89 001 001 377 stipple 25 - stipple25 90 001 001 377 stipple 26 - stipple26 91 001 001 377 stipple 27 - stipple27 92 001 001 377 stipple 28 - stipple28 # # Opaque stipples and such for mask display: # stipple short long # num mask color outline fill number name name # ----+------+--------+--------+------+-------+------+-------------- 96 001 001 377 cross 0 - contact_X'es 97 001 001 377 stipple 2 - contact_waffle 98 001 001 377 stipple 5 - overglass 99 001 001 000 stipple 1 - die boundary # 101 001 001 000 stipple 14 - rotate 102 001 001 000 stipple 3 - fence 103 001 001 000 stipple 12 - magnet # 104 001 001 000 stipple 5 - check_paint 105 001 001 000 stipple 7 - check_subcells 106 001 001 000 stipple 4 - error_waffle # #---------------------------------------------------------------------- # All of the styles above this point are used by the technology file, # and the style numbers in the technology file must match. All of the # styles below this point are used internally by Magic for things # like menus, drawing the box, etc. The style numbers must match the # definitions in style.h. #---------------------------------------------------------------------- # # General-purpose opaque colors. These entries define a whole # bunch of generally-useful colors. Although all of the fill # styles here are solid, the same colors are used in many other # places with different fill and outline styles. # # stipple short long # num mask color outline fill number name name # ----+------+--------+--------+------+-------+------+-------------- 129 001 000 000 solid 0 W white 130 001 001 000 stipple 21 - gray1 (pale) 131 001 001 000 stipple 6 - gray2 (dark) 132 001 001 000 solid 0 K black 133 001 001 000 stipple 20 r red1 (pale) 134 001 001 000 stipple 22 - red2 (medium) 135 001 001 000 stipple 6 R red3 (dark) 136 001 001 000 stipple 20 g green1 (pale) 137 001 001 000 stipple 22 - green2 (medium) 138 001 001 000 stipple 6 G green3 (dark) 139 001 001 000 stipple 20 b blue1 140 001 001 000 stipple 22 - blue2 141 001 001 000 stipple 6 B blue3 142 001 001 000 stipple 21 p purple1 143 001 001 000 stipple 6 P purple2 144 001 001 000 stipple 19 y yellow1 145 001 001 000 stipple 21 Y yellow2 146 001 001 000 stipple 19 o orange1 147 001 001 000 stipple 21 O orange2 148 001 001 000 stipple 21 - brown1 149 001 001 000 stipple 6 - brown2 150 001 001 000 stipple 22 - magenta 151 001 001 000 stipple 22 - cyan # # Opaque styles used for drawing and erasing highlights, window borders, # etc. Most of them use the color numbers defined above, in order # to conserve colors. # stipple short long # num mask color outline fill number name name # ----+------+--------+--------+------+-------+------+-------------- 160 001 001 000 solid 0 - solid_highlights 161 001 001 000 stipple 1 - medium_highlights 162 001 001 000 stipple 20 - pale_highlights 163 001 001 000 stipple 10 - horiz_highlights 164 001 001 000 stipple 11 - vert_highlights 165 001 001 377 outline 0 - outline_highlights 166 001 001 314 outline 0 - dotted_highlights # 167 001 000 377 outline 0 - erase_box 168 001 000 000 solid 0 - erase_highlights 169 001 000 000 solid 0 - erase_everything 170 001 000 000 solid 0 - erase_all_but_highl # 171 001 001 377 outline 0 - labels 172 001 001 377 outline 0 - bounding_boxes 173 001 001 252 grid 0 - dotted_grid 174 001 001 377 grid 0 - solid_grid 175 001 001 000 solid 0 - origin_square 176 001 001 377 outline 0 - draw_tile_details # 177 001 001 000 stipple 0 w window_border 178 001 001 377 stipple 1 - window_elevator 179 001 000 000 solid 0 - window_caption 180 001 000 000 solid 0 b window_background # 181 001 001 000 solid 0 - color_editing # # The style below means "no color at all". It is special, in that # it is used by cursors to indicate transparency. # 182 001 001 000 solid 0 - no_color_at_all stipples # bit pattern description #-----------------------------------+--------------------------- 1 210 042 210 042 210 042 210 042 knight's move 2 360 360 360 360 000 000 000 000 coarse knight's move (waffle) 3 377 000 000 000 000 000 000 377 sparse wide horizontal stripes 4 000 000 000 000 360 360 360 360 offset waffle 4 000 000 314 314 000 000 314 314 offset waffle 5 100 040 020 010 004 002 001 200 sparse diagonal stripes, ll to ur 6 252 125 252 125 252 125 252 125 half 'n half (checkerboard) 7 002 004 010 020 040 100 200 001 sparse diagonal stripes, lr to ul 8 201 102 044 030 030 044 102 201 sparse diagnoal crosses. 9 003 201 300 140 060 030 014 006 wide sparse diagonal stripes, ll to ur 10 000 000 000 377 000 000 000 377 horizontal stripes 11 104 104 104 104 104 104 104 104 vertical stripes 12 125 252 125 252 125 252 125 252 complement of half `n half 13 063 063 777 777 314 314 777 777 complement of #2 (coarse knight's move) 14 000 000 000 030 030 000 000 000 sparse dots. 15 167 335 167 335 167 335 167 335 complement of #1 (knight's move) 16 104 356 104 000 104 356 104 000 pluses 17 300 014 300 014 300 014 300 014 minuses 18 034 203 160 016 301 700 007 340 lines, sloped 1/3 19 210 000 000 000 210 000 000 000 4/64ths 20 000 021 000 104 000 021 000 104 8/64ths 21 000 042 210 104 000 042 210 104 12/64ths 22 104 210 042 021 104 210 042 021 16/64ths 23 314 210 021 063 314 210 021 063 24/64ths 24 300 201 003 006 014 030 060 140 wide sparse diagonal stripes (lr to ul) 25 210 063 210 146 210 063 210 146 OR of 1&20 26 314 352 314 042 314 356 314 042 OR of 1&16 27 200 000 200 000 010 000 010 000 4/64ths: vertical pairs 28 000 012 000 000 000 240 000 000 4/64ths: horizontal pairs