/dports/games/gnome-taquin/gnome-taquin-3.38.1/src/ |
H A D | taquin-game.vala | 52 private int8 x_gap = 0; 155 if (x == x_gap && y == y_gap) 160 if (x != x_gap && y != y_gap) 187 bool move_x_axis = x != x_gap; 188 int8 move_number = move_x_axis ? x_gap - x : y_gap - y; 199 add_move (/* move_x_axis, move_number,*/ x_gap, y_gap); 206 if (x < x_gap) 207 do { tiles [x_gap, y] = tiles [x_gap - 1, y]; x_gap--; } while (x_gap != x); 209 do { tiles [x_gap, y] = tiles [x_gap + 1, y]; x_gap++; } while (x_gap != x); 218 tiles [x_gap, y_gap] = -1; [all …]
|
H A D | taquin-view.vala | 60 private int8 x_gap; 179 var tile_x = x_gap * tile_size; 190 tile_x = tile_size * (x_axis ? (x_gap == 0 ? game.size - 1 : 0) : x_gap); 205 if (animate && x == x_gap && y == y_gap) 211 if (animate && (x != x_gap || y != y_gap)) 215 if (number > 0 && x <= x_gap + number && x >= x_gap) 217 else if (number < 0 && x >= x_gap + number && x <= x_gap) 220 else if (!x_axis && x == x_gap) 258 … queue_draw_area (x_offset + grid_border_main + tile_size * int.min (x_gap, x_gap + number), 439 this.x_gap = x_gap; [all …]
|
/dports/graphics/tesseract/tesseract-5.0.0/src/textord/ |
H A D | strokewidth.cpp | 545 int x_gap = blob_box.x_gap(part_box); in MarkLeaderNeighbours() local 546 if (x_gap > 2 * gridsize()) { in MarkLeaderNeighbours() 550 best_gap = x_gap; in MarkLeaderNeighbours() 691 *x_gap = bbox.x_gap(nbox); in AcceptableCJKMerge() 742 int x_gap, y_gap; in AccumulateOverlaps() local 769 } else if (x_gap < 0 && x_gap <= y_gap) { in AccumulateOverlaps() 775 } else if (y_gap < 0 && y_gap <= x_gap) { in AccumulateOverlaps() 778 if (nearests[dir] == nullptr || x_gap < bbox->x_gap(nearests[dir]->bounding_box())) { in AccumulateOverlaps() 1630 int x_gap = small_box.x_gap(nbox); in DiacriticBlob() local 1643 if (x_gap <= 0) { in DiacriticBlob() [all …]
|
H A D | cjkpitch.cpp | 207 int gap = real_body_.x_gap(next.real_body_); in Merge() 411 return -box1.x_gap(box2) / static_cast<float>(std::min(box1.width(), box2.width())); in x_overlap_fraction() 422 int overlap = -box1.x_gap(box2); in significant_overlap() 448 if (real_pitch > pitch && real_pitch < pitch * 2.0 && real_pitch - box1.x_gap(box2) < pitch) { in is_good_pitch() 592 real_body(i - 1).x_gap(real_body(i)) > space_threshold) { in OutputEstimations() 633 int32_t gap = std::max(0, real_body(i - 1).x_gap(real_body(i))); in EstimatePitch()
|
H A D | imagefind.cpp | 591 if (box1.x_gap(box2) >= box1.y_gap(box2)) { in BlankImageInBetween() 592 if (box1.x_gap(box2) <= 0) { in BlankImageInBetween() 880 if (part_box.x_gap(box) < 0) { in ExpandImageBottom() 895 if (part_box.x_gap(box) < 0) { in ExpandImageBottom() 916 if (part_box.x_gap(box) < 0) { in ExpandImageTop() 931 if (part_box.x_gap(box) < 0) { in ExpandImageTop() 1072 int x_dist = std::max(0, box.x_gap(im_part_box)); in ExpandImageIntoParts()
|
H A D | textlineprojection.cpp | 209 parallel_gap = from_box.x_gap(to_box) + from_box.width(); in DistanceOfBoxFromBox() 707 bbox->x_gap(blob->neighbour(BND_LEFT)->bounding_box()) > pad_limit) && in PadBlobBox() 709 bbox->x_gap(blob->neighbour(BND_RIGHT)->bounding_box()) > pad_limit)) { in PadBlobBox()
|
H A D | colpartitiongrid.cpp | 1676 int x_gap = std::max(part_box.x_gap(nbox), 0); in AccumulatePartDistances() local 1678 int n_dist = x_gap * dist_scaling.x() + y_gap * dist_scaling.y(); in AccumulatePartDistances() 1680 tprintf("Part has x-gap=%d, y=%d, dist=%d at:", x_gap, y_gap, n_dist); in AccumulatePartDistances()
|
/dports/science/conduit/conduit-0.8.0/src/libs/blueprint/ |
H A D | conduit_blueprint_mesh_examples_julia.cpp | 449 int32 x_gap[2]; in sub_boxs() local 451 gap_scanner(x_bins, aabb.min(0), aabb.max(0), current.min(0), x_gap); in sub_boxs() 453 if((x_gap[0] != -1 || y_gap[0] != -1) && in sub_boxs() 454 x_gap[0] != aabb.min(0) && in sub_boxs() 455 x_gap[0] != aabb.max(0) && in sub_boxs() 460 if(x_gap[1] > y_gap[1]) in sub_boxs() 462 aabb.split(0, x_gap[0], left, right); in sub_boxs()
|
/dports/math/gap/gap-4.11.0/pkg/semigroups-3.2.3/src/ |
H A D | bipart.cc | 948 Obj BLOCKS_LEFT_ACT(Obj self, Obj blocks_gap, Obj x_gap) { in BLOCKS_LEFT_ACT() argument 949 SEMIGROUPS_ASSERT(TNUM_OBJ(x_gap) == T_BIPART); in BLOCKS_LEFT_ACT() 952 Bipartition* x = bipart_get_cpp(x_gap); in BLOCKS_LEFT_ACT() 1002 Obj BLOCKS_RIGHT_ACT(Obj self, Obj blocks_gap, Obj x_gap) { in BLOCKS_RIGHT_ACT() argument 1003 SEMIGROUPS_ASSERT(TNUM_OBJ(x_gap) == T_BIPART); in BLOCKS_RIGHT_ACT() 1006 Bipartition* x = bipart_get_cpp(x_gap); in BLOCKS_RIGHT_ACT() 1056 Obj BLOCKS_INV_LEFT(Obj self, Obj blocks_gap, Obj x_gap) { in BLOCKS_INV_LEFT() argument 1058 SEMIGROUPS_ASSERT(TNUM_OBJ(x_gap) == T_BIPART); in BLOCKS_INV_LEFT() 1060 Bipartition* x = bipart_get_cpp(x_gap); in BLOCKS_INV_LEFT() 1152 Obj BLOCKS_INV_RIGHT(Obj self, Obj blocks_gap, Obj x_gap) { in BLOCKS_INV_RIGHT() argument [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/algo/align/util/ |
H A D | hit_filter.hpp | 850 string x_gap; in sx_Merge() local 852 x_gap.assign(abs(sgap) - 1, 'I'); in sx_Merge() 855 x_gap.assign(abs(qgap) - 1, 'D'); in sx_Merge() 861 xcript = x_lhs + x_gap + x_rhs; in sx_Merge() 865 xcript = x_rhs + x_gap + x_lhs; in sx_Merge()
|
/dports/games/widelands/widelands-build21/src/ui_basic/ |
H A D | slider.cc | 66 const int32_t x_gap, in Slider() argument 78 x_gap_(x_gap), in Slider()
|
H A D | slider.h | 54 int32_t x_gap,
|
/dports/security/nmap/nmap-7.91/zenmap/radialnet/gui/ |
H A D | RadialNet.py | 1032 x_gap = radius + 2 1038 x_gap += 5 1117 round(xc + x + x_gap), 1121 x_gap += 13 1136 context.move_to(round(xc + x + x_gap),
|
/dports/graphics/tesseract/tesseract-5.0.0/src/training/common/ |
H A D | mastertrainer.cpp | 482 int x_gap, x_gap_before, x_gap_after, num_kerned; in AddSpacingInfo() local 501 if (tfscanf(fontinfo_file, "%s %d", kerned_uch, &x_gap) != 2) { in AddSpacingInfo() 512 spacing->kerned_x_gaps.push_back(static_cast<int16_t>(x_gap * scale)); in AddSpacingInfo()
|
/dports/devel/py-game/pygame-2.1.0/src_c/ |
H A D | draw.c | 1181 float x_gap, y_endpoint, clip_left, clip_right, clip_top, clip_bottom; in draw_aaline() local 1284 x_gap = 1 + x_pixel_start - from_x; in draw_aaline() 1296 brightness * x_gap, blend); in draw_aaline() 1307 brightness * x_gap, blend); in draw_aaline() 1316 x_gap = 1 - x_pixel_end + to_x; in draw_aaline() 1328 brightness * x_gap, blend); in draw_aaline() 1339 brightness * x_gap, blend); in draw_aaline()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/ |
H A D | equationdetect.cpp | 803 if (!IsTextOrEquationType(neighbor->type()) || part_box.x_gap(neighbor_box) > kGapTh || in IdentifyInlinePartsHorizontal() 999 if (part_box.major_y_overlap(neighbor_box) && part_box.x_gap(neighbor_box) < kXGapTh) { in IsIndented() 1099 if (part_box.x_gap(seed_box) > kXGapTh) { // Out of scope. in ExpandSeedHorizontal() 1224 (!part_box.major_y_overlap(seed_box) || part_box.x_gap(seed_box) > kXGapTh)) { in IsNearSmallNeighbor()
|
H A D | applybox.cpp | 357 ((next_box != nullptr && box.x_gap(*next_box) < -3) || in ResegmentCharBox() 358 (prev_box != nullptr && prev_box->x_gap(box) < -3))) { in ResegmentCharBox()
|
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/men/ |
H A D | menu.c | 117 x_gap(Menu m) in x_gap() function 146 int gx = x_gap(m); in area_menu_item() 365 { iw = rows * (valInt(m->item_size->w) + x_gap(m)) + pen; in computeMenu() 368 { iw = cols * (valInt(m->item_size->w) + x_gap(m)) + pen; in computeMenu() 795 int gx = x_gap(m); in RedrawAreaMenu() 989 x /= valInt(m->item_size->w) + x_gap(m); in getItemFromEventMenu()
|
/dports/x11-fm/pcmanfm-qt/pcmanfm-qt-1.0.0/pcmanfm/ |
H A D | desktopwindow.cpp | 702 int x_gap = (image.width() - scr->geometry().width()) / 2; in updateWallpaper() local 704 …scaled = image.copy(qMax(x_gap, 0), qMax(y_gap, 0), scr->geometry().width(), scr->geometry().heigh… in updateWallpaper() 705 x = scr->geometry().x() + qMax(0, -x_gap); in updateWallpaper() 727 int x_gap = (scaled.width() - scr->geometry().width()) / 2; in updateWallpaper() local 728 … scaled = scaled.copy(x_gap, 0, scr->geometry().width(), scaled.height()); in updateWallpaper()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/ |
H A D | split.cpp | 89 int overlap = -box1.x_gap(box2); in FullPriority()
|
H A D | rect.h | 238 int x_gap(const TBOX &box) const { in x_gap() function
|
/dports/biology/groopm/GroopM-0.3.4/groopm/ |
H A D | cluster.py | 1670 x_gap = float(np_abs(points[i-1,1] - points[i,1])) 1672 largest_gap = np_max([x_gap, y_gap]) 1679 … Xs = [int(j) for j in np_around((np_arange(largest_gap)*x_gap/largest_gap) + points[i,1])] 1681 … Xs = [int(j) for j in np_around((np_arange(largest_gap)*x_gap/largest_gap) + points[i-1,1])][::-1]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/ |
H A D | io_import_images_as_planes.py | 289 x_gap = 200 305 node.location.x = min(node.location.x, to_node.location.x - x_gap)
|
/dports/print/lilypond-devel/lilypond-2.23.5/mf/ |
H A D | feta-scripts.mf | 272 save inner_factor, x_gap, inner_fat_factor; 297 x_gap = 0.2 staff_space; % TODO: is this correct? 301 rt x8 = lft x1 - 1.2 x_gap; 302 lft x11 = rt x5 + x_gap;
|
/dports/print/lilypond/lilypond-2.22.1/mf/ |
H A D | feta-scripts.mf | 272 save inner_factor, x_gap, inner_fat_factor; 297 x_gap = 0.2 staff_space; % TODO: is this correct? 301 rt x8 = lft x1 - 1.2 x_gap; 302 lft x11 = rt x5 + x_gap;
|