![]() |
Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
Go to the source code of this file.
Macros | |
| #define | MAXSEND 65535 /* 64K */ |
| #define | arrow_width 16 |
| #define | arrow_height 16 |
| #define | arrow_x_hot 4 |
| #define | arrow_y_hot 1 |
| #define | arrow_mask_width 16 |
| #define | arrow_mask_height 16 |
| #define | DMAP(v, x, y) (modN[v]>dm16[x][y] ? divN[v] + 1 : divN[v]) |
Functions | |
| main (argc, char **argv) | |
| get_pic (FILE *infile, char *infname, char *display_name, char *window_geometry) | |
| update_pic (use_pix) | |
| update_zoom () | |
| create_window (width, height, window_geometry) | |
| map_scanline (rgb, n, s, y,*line) | |
| put_scanline (unsigned char *scan, width, x, y) | |
| map_rgb_to_bw (rle_pixel *red_row, rle_pixel *green_row, rle_pixel *blue_row, rle_pixel *bw_row, rle_pixel **map, rowlen) | |
| init_color () | |
| load_x_map () | |
| resize_zoom_window () | |
Variables | |
| static char | rcs_ident [] = "$Id: getx10.c,v 3.0.1.1 1992/01/28 18:12:35 spencer Exp $" |
| int | dm16 [16][16] |
| static short | arrow_bits [] |
| static short | arrow_mask_bits [] |
| Cursor | arrow_curs |
| Color | colmap [256] |
| int | gammamap [256] |
| rle_pixel ** | in_cmap |
| int | modN [256] |
| int | divN [256] |
| int | bwflag = 0 |
| int | levels = 0 |
| int | levelsq |
| int | levelsc |
| rle_hdr | hdr |
| double | disp_gam = 2.5 |
| double | img_gam = 1.0 |
| int | iflag = 0 |
| int | setbg = 0 |
| int | mapflg = 0 |
| int | usemap = 0 |
| int | forkflg = 0 |
| int | zoomflg = 0 |
| Display * | dpy |
| Window | fbwin |
| Window | iconwin |
| Window | zoomwin |
| int | iconfact |
| int | iconrow |
| int | iconscan |
| int | iconbyte |
| int | zoomfact = 8 |
| int | zoom_x_dim = 15 |
| int | zoom_y_dim = 15 |
| int | zoom_x_center |
| int | zoom_y_center |
| int | nscan |
| int | nrow |
| int | nbyte |
| int | dbg = 0 |
| unsigned char * | buffer |
| unsigned char * | iconbuf |
Definition at line 756 of file getx10.c.
References nrow, nscan, zoom_x_dim, zoom_y_dim, zoomfact, and zoomflg.
| get_pic | ( | FILE * | infile, |
| char * | infname, | ||
| char * | display_name, | ||
| char * | window_geometry | ||
| ) |
Definition at line 253 of file getx10.c.
| init_color | ( | ) |
Definition at line 935 of file getx10.c.
References bwdithermap(), bwflag, rle_hdr::cmd, disp_gam, dithermap(), divN, dm16, hdr, levels, levelsc, levelsq, make_square(), and modN.
| load_x_map | ( | ) |
Definition at line 1100 of file getx10.c.
References rle_hdr::cmaplen, disp_gam, hdr, in_cmap, and rle_getcom().
| main | ( | argc | , |
| char ** | argv | ||
| ) |
Definition at line 158 of file getx10.c.
| map_rgb_to_bw | ( | rle_pixel * | red_row, |
| rle_pixel * | green_row, | ||
| rle_pixel * | blue_row, | ||
| rle_pixel * | bw_row, | ||
| rle_pixel ** | map, | ||
| rowlen | |||
| ) |
| resize_zoom_window | ( | ) |
| update_pic | ( | use_pix | ) |
Definition at line 425 of file getx10.c.
References bwflag, nbyte, nrow, nscan, setbg, zoom_x_center, zoom_y_center, and zoomflg.
| update_zoom | ( | ) |
Definition at line 704 of file getx10.c.
References buffer, bwflag, nbyte, nrow, nscan, zoom_x_center, zoom_x_dim, zoom_y_center, zoom_y_dim, and zoomfact.
|
static |
|
static |
| int bwflag = 0 |
Definition at line 71 of file getx10.c.
Referenced by init_color(), makemap(), update_pic(), and update_zoom().
| int gammamap[256] |
Definition at line 68 of file getx10.c.
Referenced by init_gamma_map(), and write_colour_map().
| rle_hdr hdr |
Definition at line 84 of file getx10.c.
Referenced by borrow_color_map(), colormap(), direct_setup(), init_24_bit_colour_map(), init_color(), load_x_map(), rasterDone(), read_rle_header(), window_color_map(), write_ppm_data(), write_rle_data(), and write_rle_header().
| int levels = 0 |
Definition at line 79 of file getx10.c.
Referenced by init_color().
| int levelsc |
Definition at line 79 of file getx10.c.
Referenced by init_color().
| int levelsq |
Definition at line 79 of file getx10.c.
Referenced by init_color().
| int nbyte |
Definition at line 102 of file getx10.c.
Referenced by update_pic(), and update_zoom().
| int nrow |
Definition at line 101 of file getx10.c.
Referenced by create_window(), update_pic(), and update_zoom().
| int nscan |
Definition at line 101 of file getx10.c.
Referenced by create_window(), update_pic(), and update_zoom().
|
static |
| int setbg = 0 |
Definition at line 88 of file getx10.c.
Referenced by update_pic().
| int zoom_x_center |
Definition at line 100 of file getx10.c.
Referenced by update_pic(), and update_zoom().
| int zoom_x_dim = 15 |
Definition at line 98 of file getx10.c.
Referenced by create_window(), resize_zoom_window(), and update_zoom().
| int zoom_y_center |
Definition at line 100 of file getx10.c.
Referenced by update_pic(), and update_zoom().
| int zoom_y_dim = 15 |
Definition at line 99 of file getx10.c.
Referenced by create_window(), resize_zoom_window(), and update_zoom().
| int zoomfact = 8 |
Definition at line 97 of file getx10.c.
Referenced by create_window(), resize_zoom_window(), and update_zoom().
| int zoomflg = 0 |
Definition at line 92 of file getx10.c.
Referenced by create_window(), and update_pic().
1.8.10