| /plan9-contrib/sys/src/cmd/gs/src/ |
| H A D | gscolor3.c | 67 gx_device_color devc; in gs_shfill() local 82 code = cs.type->remap_color(&cc, &cs, &devc, (gs_imager_state *)pgs, in gs_shfill() 88 code = gx_fill_path(&cpath, &devc, pgs, gx_rule_winding_number, in gs_shfill()
|
| H A D | gxht.c | 592 gx_device_color devc; in gx_dc_ht_binary_read() local 598 devc = *prior_devc; in gx_dc_ht_binary_read() 600 memset(&devc, 0, sizeof(devc)); /* clear pointers */ in gx_dc_ht_binary_read() 601 devc.type = gx_dc_type_ht_binary; in gx_dc_ht_binary_read() 604 devc.colors.binary.b_ht = pis->dev_ht; in gx_dc_ht_binary_read() 607 devc.colors.binary.b_tile = 0; in gx_dc_ht_binary_read() 617 code = gx_dc_read_color( &devc.colors.binary.color[0], in gx_dc_ht_binary_read() 627 code = gx_dc_read_color( &devc.colors.binary.color[1], in gx_dc_ht_binary_read() 641 enc_u_getw(devc.colors.binary.b_level, pdata); in gx_dc_ht_binary_read() 648 devc.colors.binary.b_index = *pdata++; in gx_dc_ht_binary_read() [all …]
|
| H A D | gxiscale.c | 270 gx_device_color devc; in image_render_interpolate() local 299 (psrc, pcs, &devc, pis, dev, gs_color_select_source); in image_render_interpolate() 302 if (color_is_pure(&devc)) { in image_render_interpolate() 304 gx_color_index color = devc.colors.pure; in image_render_interpolate() 323 1, 1, &devc, dev, lop); in image_render_interpolate()
|
| H A D | gxcht.c | 360 gx_device_color devc; in gx_dc_ht_colored_read() local 368 devc = *prior_devc; in gx_dc_ht_colored_read() 370 memset(&devc, 0, sizeof(devc)); /* clear pointers */ in gx_dc_ht_colored_read() 371 devc.type = gx_dc_type_ht_colored; in gx_dc_ht_colored_read() 374 devc.colors.colored.num_components = num_comps; in gx_dc_ht_colored_read() 375 devc.colors.colored.c_ht = pis->dev_ht; in gx_dc_ht_colored_read() 403 devc.colors.colored.c_base[i] = base_mask & 0x1; in gx_dc_ht_colored_read() 408 memcpy(devc.colors.colored.c_base, pdata, num_comps); in gx_dc_ht_colored_read() 431 devc.colors.colored.plane_mask = plane_mask; in gx_dc_ht_colored_read() 436 enc_u_getw(devc.colors.colored.c_level[i], pdata); in gx_dc_ht_colored_read() [all …]
|
| H A D | gdevbbox.c | 795 gx_drawing_color devc; in bbox_fill_path() local 797 set_nonclient_dev_color(&devc, bdev->black); /* any non-white color will do */ in bbox_fill_path() 799 code = gx_default_fill_path(dev, pis, ppath, params, &devc, pcpath); in bbox_fill_path() 857 gx_drawing_color devc; in bbox_stroke_path() local 859 set_nonclient_dev_color(&devc, bdev->black); /* any non-white color will do */ in bbox_stroke_path() 861 gx_default_stroke_path(dev, pis, ppath, params, &devc, pcpath); in bbox_stroke_path() 1078 gx_drawing_color devc; in bbox_image_plane_data() local 1085 set_nonclient_dev_color(&devc, bdev->black); /* any non-white color will do */ in bbox_image_plane_data() 1090 bx2, by2, &devc, lop_default); in bbox_image_plane_data() 1094 bx2, by2, &devc, lop_default); in bbox_image_plane_data()
|
| H A D | gxacpath.c | 175 gx_device_color devc; in gx_cpath_intersect_path_slow() local 180 set_nonclient_dev_color(&devc, 0); /* arbitrary, but not transparent */ in gx_cpath_intersect_path_slow() 187 ¶ms, &devc, pcpath); in gx_cpath_intersect_path_slow()
|
| H A D | gdevdbit.c | 55 gx_device_color devc; in gx_default_copy_mono() local 72 set_nonclient_dev_color(&devc, color); in gx_default_copy_mono() 74 (&devc, data, dx, raster, id, x, y, w, h, dev, rop3_T, invert); in gx_default_copy_mono()
|
| H A D | gdevpx.c | 1486 gx_device_color devc; in pclxl_begin_image() local 1496 (&cc, pcs, &devc, pis, dev, gs_color_select_source); in pclxl_begin_image() 1497 if (!gx_dc_is_pure(&devc)) in pclxl_begin_image() 1499 ci = gx_dc_pure_color(&devc); in pclxl_begin_image()
|