| /plan9/sys/src/cmd/gs/src/ |
| H A D | gxclbits.c | 243 cmd_size_tile_params(const gx_strip_bitmap * tile) in cmd_size_tile_params() argument 245 return 2 + cmd_size_w(tile->rep_width) + cmd_size_w(tile->rep_height) + in cmd_size_tile_params() 246 (tile->rep_width == tile->size.x ? 0 : in cmd_size_tile_params() 247 cmd_size_w(tile->size.x / tile->rep_width)) + in cmd_size_tile_params() 248 (tile->rep_height == tile->size.y ? 0 : in cmd_size_tile_params() 249 cmd_size_w(tile->size.y / tile->rep_height)) + in cmd_size_tile_params() 250 (tile->rep_shift == 0 ? 0 : cmd_size_w(tile->rep_shift)); in cmd_size_tile_params() 253 cmd_store_tile_params(byte * dp, const gx_strip_bitmap * tile, int depth, in cmd_store_tile_params() argument 260 p = cmd_put_w(tile->rep_width, p); in cmd_store_tile_params() 261 p = cmd_put_w(tile->rep_height, p); in cmd_store_tile_params() [all …]
|
| H A D | gslib.c | 364 gx_tile_bitmap tile; in test2() local 390 tile.data = tpdata; in test2() 391 tile.raster = 4; in test2() 392 tile.size.x = tile.rep_width = 6; in test2() 393 tile.size.y = tile.rep_height = 6; in test2() 394 tile.id = gx_no_bitmap_id; in test2() 395 gs_makebitmappattern(&cc, &tile, true, pgs, NULL); in test2() 402 gs_makebitmappattern(&cc, &tile, false, pgs, NULL); in test2() 433 gx_tile_bitmap tile; in test3() local 442 tile.data = pbytes; in test3() [all …]
|
| H A D | gdevwddb.c | 254 win_ddb_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile, in win_ddb_tile_rectangle() argument 263 if (tile->raster == bmWidthBytes && tile->size.y <= bmHeight && in win_ddb_tile_rectangle() 268 int width = tile->size.x; in win_ddb_tile_rectangle() 269 int height = tile->size.y; in win_ddb_tile_rectangle() 270 int rwidth = tile->rep_width; in win_ddb_tile_rectangle() 274 int ry = y % tile->rep_height; in win_ddb_tile_rectangle() 283 if (tile->id != wdev->bm_id || tile->id == gx_no_bitmap_id) { in win_ddb_tile_rectangle() 284 wdev->bm_id = tile->id; in win_ddb_tile_rectangle() 286 (DWORD) (bmWidthBytes * tile->size.y), in win_ddb_tile_rectangle() 287 (BYTE *) tile->data); in win_ddb_tile_rectangle() [all …]
|
| H A D | gdevwprn.c | 371 win_prn_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile, in win_prn_tile_rectangle() argument 380 if (tile->raster == bmWidthBytes && tile->size.y <= bmHeight && in win_prn_tile_rectangle() 385 int width = tile->size.x; in win_prn_tile_rectangle() 386 int height = tile->size.y; in win_prn_tile_rectangle() 387 int rwidth = tile->rep_width; in win_prn_tile_rectangle() 391 int ry = y % tile->rep_height; in win_prn_tile_rectangle() 400 if (tile->id != wdev->bm_id || tile->id == gx_no_bitmap_id) { in win_prn_tile_rectangle() 401 wdev->bm_id = tile->id; in win_prn_tile_rectangle() 403 (DWORD) (bmWidthBytes * tile->size.y), in win_prn_tile_rectangle() 404 (BYTE *) tile->data); in win_prn_tile_rectangle() [all …]
|
| H A D | gdevx.c | 975 set_tile(gx_device * dev, const gx_strip_bitmap * tile) in set_tile() argument 983 if (tile->id == xdev->ht.id && tile->id != gx_no_bitmap_id) in set_tile() 986 if (tile->size.x != xdev->ht.width || in set_tile() 987 tile->size.y != xdev->ht.height || in set_tile() 992 tile->size.x, tile->size.y, in set_tile() 996 xdev->ht.width = tile->size.x, xdev->ht.height = tile->size.y; in set_tile() 997 xdev->ht.raster = tile->raster; in set_tile() 1002 xdev->image.data = (char *)tile->data; in set_tile() 1003 xdev->image.width = tile->size.x; in set_tile() 1004 xdev->image.height = tile->size.y; in set_tile() [all …]
|
| H A D | gdevpcfb.c | 643 ega_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile, in ega_tile_rectangle() argument 651 int tile_height = tile->size.y; in ega_tile_rectangle() 662 if ((tile->size.x & 7) || one == -1 || zero == -1 || px || py) in ega_tile_rectangle() 663 return gx_default_tile_rectangle(dev, tile, x, y, w, h, in ega_tile_rectangle() 668 params.sraster = tile->raster; in ega_tile_rectangle() 687 xmod = (x % tile->size.x) >> 3; in ega_tile_rectangle() 688 width_bytes = tile->size.x >> 3; in ega_tile_rectangle() 703 tile:yleft = tile_height - ymod; in ega_tile_rectangle() 704 params.src = tile->data + ymod * params.sraster + xmod; in ega_tile_rectangle() 712 params.src = tile->data + xmod; in ega_tile_rectangle() [all …]
|
| H A D | gdevpdfv.c | 90 tile_size(const gx_strip_bitmap *tile, int depth) in tile_size() argument 92 return (tile->rep_width * depth + 7) / 8 * tile->rep_height; in tile_size() 120 const gx_color_tile *tile = (p_tile ? p_tile : m_tile); in pdf_pattern() local 134 if (is_xxyy(&tile->step_matrix)) in pdf_pattern() 135 step.x = tile->step_matrix.xx, step.y = tile->step_matrix.yy; in pdf_pattern() 136 else if (is_xyyx(&tile->step_matrix)) in pdf_pattern() 137 step.x = tile->step_matrix.yx, step.y = tile->step_matrix.xy; in pdf_pattern() 145 smat.tx = tile->step_matrix.tx / (pdev->HWResolution[0] / 72.0); in pdf_pattern() 146 smat.ty = tile->step_matrix.ty / (pdev->HWResolution[1] / 72.0); in pdf_pattern() 174 tile->tiling_type)) < 0 || in pdf_pattern() [all …]
|
| H A D | gsptype1.h | 142 #define gs_makebitmappattern(pcc, tile, mask, pgs, mem) \ argument 143 gs_makebitmappattern_xform(pcc, tile, mask, 0, no_UniqueID, pgs, mem)
|
| H A D | gxht.c | 74 gx_ht_tile *tile = cptr->colors.binary.b_tile; variable 76 ENUM_RETURN(tile ? tile - tile->index : 0); 81 gx_ht_tile *tile = cptr->colors.binary.b_tile; in RELOC_PTRS_WITH() local 82 uint index = tile ? tile->index : 0; in RELOC_PTRS_WITH()
|
| H A D | gxclimag.c | 138 gx_strip_bitmap tile; in clist_fill_mask() local 140 tile.data = (byte *) orig_data; /* actually const */ in clist_fill_mask() 141 tile.raster = raster; in clist_fill_mask() 142 tile.size.x = tile.rep_width = orig_width; in clist_fill_mask() 143 tile.size.y = tile.rep_height = orig_height; in clist_fill_mask() 144 tile.rep_shift = tile.shift = 0; in clist_fill_mask() 145 tile.id = id; in clist_fill_mask() 147 code = clist_change_bits(cdev, pcls, &tile, depth); in clist_fill_mask()
|
| H A D | gsptype1.c | 930 gx_color_tile *tile = cptr->colors.pattern.p_tile; variable 932 ENUM_RETURN((tile == 0 ? tile : tile - tile->index)); 937 gx_color_tile *tile = cptr->colors.pattern.p_tile; in RELOC_PTRS_WITH() local 939 if (tile != 0) { in RELOC_PTRS_WITH() 940 uint index = tile->index; in RELOC_PTRS_WITH()
|
| H A D | gsdcolor.h | 146 #define color_set_binary_tile(pdc, color0, color1, tile)\ argument 151 (pdc)->colors.binary.b_tile = (tile),\
|
| H A D | gdevl256.c | 289 lvga256_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile, in lvga256_tile_rectangle() argument 297 return gx_default_tile_rectangle(dev, tile, x, y, w, h, czero, cone, px, py); in lvga256_tile_rectangle()
|
| H A D | gxclrect.c | 165 clist_strip_tile_rectangle(gx_device * dev, const gx_strip_bitmap * tile, in clist_strip_tile_rectangle() argument 190 if (!cls_has_tile_id(cdev, pcls, tile->id, offset_temp)) { in clist_strip_tile_rectangle() 192 if (tile->id != gx_no_bitmap_id) { in clist_strip_tile_rectangle() 194 code = clist_change_tile(cdev, pcls, tile, depth); in clist_strip_tile_rectangle() 201 code = gx_default_strip_tile_rectangle(dev, tile, in clist_strip_tile_rectangle()
|
| H A D | gdevvglb.c | 169 vgalib_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile, in vgalib_tile_rectangle() argument 177 return gx_default_tile_rectangle(dev, tile, x, y, w, h, czero, cone, px, in vgalib_tile_rectangle()
|
| H A D | gxdht.h | 194 int (*render)(gx_ht_tile *tile, int new_bit_level,
|
| H A D | gdevmac.c | 812 mac_strip_tile_rectangle(register gx_device *dev, const gx_strip_bitmap *tile, 819 int byteCount = tile->raster * tile->size.y;
|
| H A D | gdevdbit.c | 34 gx_default_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile, in gx_default_tile_rectangle() argument 40 *(gx_tile_bitmap *) & tiles = *tile; in gx_default_tile_rectangle()
|
| H A D | gdevcgm.c | 415 cgm_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile,
|
| H A D | gdevnfwd.c | 208 gx_forward_tile_rectangle(gx_device * dev, const gx_tile_bitmap * tile, in gx_forward_tile_rectangle() argument 218 return proc(tdev, tile, x, y, w, h, color0, color1, px, py); in gx_forward_tile_rectangle()
|
| H A D | gdevm1.c | 467 return mem_mono_strip_copy_rop(dev, NULL, 0, 0, tile->id, NULL, in mem_mono_strip_tile_rectangle()
|
| H A D | gxclrast.c | 195 gx_strip_bitmap *tile, tile_slot **pslot, 1595 gx_clist_state *pcls, gx_strip_bitmap *tile, tile_slot **pslot, in read_set_bits() argument 1625 tile->data = data = (byte *)(slot + 1); in read_set_bits()
|
| H A D | gxdevcli.h | 813 const gx_tile_bitmap *tile, int x, int y, int width, int height,\
|
| /plan9/lib/ |
| H A D | unicode | 10540 002f61 kangxi radical tile 22315 01f000 mahjong tile east wind 22316 01f001 mahjong tile south wind 22317 01f002 mahjong tile west wind 22318 01f003 mahjong tile north wind 22319 01f004 mahjong tile red dragon 22320 01f005 mahjong tile green dragon 22321 01f006 mahjong tile white dragon 22322 01f007 mahjong tile one of characters 22323 01f008 mahjong tile two of characters [all …]
|
| /plan9/sys/doc/sam/ |
| H A D | sam.ms | 2746 but they never move a tile that doesn't need to be moved, 2747 and they move each tile at most once. 2787 tile by tile 2792 coordinates of the tile
|