/dports/cad/xcircuit/xcircuit-3.10.30/asg/ |
H A D | psfigs.c | 688 int mid_y = y + y_size/2; local 706 int mid_y = y + y_size/2; local 738 mid_x, mid_y, tip); 766 mid_x, mid_y, tip); 797 mid_x, mid_y, tip); 910 mid_y, rad, -28.072, 28.072); 970 mid_x + scale * 13.00, mid_y, 998 mid_y, rad, -28.072, 28.072); 1002 mid_y, rad, -28.072, 28.072); 1050 mid_y, rad, -28.072, 28.072); [all …]
|
/dports/graphics/geomorph/geomorph-0.60.1/src/hf/ |
H A D | subdiv1.c | 59 int mid_x, mid_y, r; in calc_midx_midy() local 62 mid_y = (y0 + y1)>>1; in calc_midx_midy() 84 *(hf_buf+(mid_y*max_x)+mid_x) = val; in calc_midx_midy() 101 int mid_x, mid_y, x_1, y_1; in calc_x_y() local 105 mid_y = (y0 + y1)>>1; in calc_x_y() 111 y_1 = mid_y - (y1 - y0); in calc_x_y() 121 *(hf_buf +( mid_y * max_x) + mid_x), in calc_x_y() 123 *(hf_buf +( mid_y * max_x) + x_1 )); in calc_x_y() 131 *(hf_buf+(mid_y*max_x) + x0) = val; in calc_x_y() 136 hf_buf +( mid_y * max_x) + mid_x, in calc_x_y() [all …]
|
H A D | subdiv2.c | 75 int mid_x, mid_y, x_1, y_1; in smooth_midpoints() local 78 mid_y = WRAP((y0 + y1)>>1,hf->max_x); in smooth_midpoints() 81 y_1 = WRAP2(mid_y - (y1 - y0),hf->max_y); in smooth_midpoints() 96 hfl + VECTORIZE(mid_x,mid_y,hf->max_x), in smooth_midpoints() 110 int mid_x, mid_y; in calc_midx_midy_2() local 115 mid_y = WRAP((y0 + y1)>>1,hf->max_x); in calc_midx_midy_2() 155 int mid_x, mid_y, x_1, y_1; in calc_x_y_2() local 160 mid_y = WRAP((y0 + y1)>>1,hf->max_x); in calc_x_y_2() 164 y_1 = WRAP2(mid_y - (y1 - y0),hf->max_y); in calc_x_y_2() 176 *(hfl +( mid_y * hf->max_x) + mid_x), in calc_x_y_2() [all …]
|
/dports/games/frogatto/frogatto-1.3.1/modules/duxduo/data/objects/ |
H A D | sam.cfg | 57 on_die: "spawn('explosion_big', mid_x, mid_y, facing)", 59 …mid_x) < 800 and cycle > vars.last_fired + 50, [spawn('sam.guided_missile', mid_x, mid_y-4, facing, 64 if(abs(target.mid_x - mid_x) < abs(target.mid_y - mid_y)/2, 66 if(abs(target.mid_y - mid_y) < abs(target.mid_x - mid_x)/2, 106 where target_angle = angle(vars.target.mid_x, vars.target.mid_y, mid_x, mid_y)), 108 on_die: "spawn('explosion', mid_x, mid_y, facing)",
|
H A D | ai_chopper.cfg | 48 die_and_respawn: "def() [spawn('explosion_big_dusty', mid_x, mid_y, facing), 58 ctrl_up: "mid_y > level.local_player.mid_y or ammo = 0", 77 … 'infantry', 'sam', 'cannon', 'artillery']), spawner.mid_x - 150, spawner.mid_y, -1)) where spawne… 111 …ase', 'chopper', 'missile'])) and abs(mid_x - value.mid_x) < 50 and abs(mid_y - value.mid_y) < 100) 114 set(vars.carry.mid_y, mid_y),
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/octree/include/pcl/octree/impl/ |
H A D | octree_search.hpp | 696 double mid_y = 0.5 * (min_y + max_y); in getIntersectedVoxelCentersRecursive() local 732 mid_y, in getIntersectedVoxelCentersRecursive() 748 mid_y, in getIntersectedVoxelCentersRecursive() 761 mid_y, in getIntersectedVoxelCentersRecursive() 777 mid_y, in getIntersectedVoxelCentersRecursive() 796 mid_y, in getIntersectedVoxelCentersRecursive() 812 mid_y, in getIntersectedVoxelCentersRecursive() 825 mid_y, in getIntersectedVoxelCentersRecursive() 841 mid_y, in getIntersectedVoxelCentersRecursive() 891 double mid_y = 0.5 * (min_y + max_y); in getIntersectedVoxelIndicesRecursive() local [all …]
|
/dports/games/eureka/eureka-1.27b-source/src/ |
H A D | e_things.cc | 124 static void MoveOverlapThing(int th, int mid_x, int mid_y, int n, int total) in MoveOverlapThing() argument 174 double mid_x, mid_y; in CMD_TH_Disconnect() local 175 Objs_CalcMiddle(&overlaps, &mid_x, &mid_y); in CMD_TH_Disconnect() 180 MoveOverlapThing(*it, mid_x, mid_y, n, total); in CMD_TH_Disconnect() 204 double mid_x, mid_y; in CMD_TH_Merge() local 205 Objs_CalcMiddle(edit.Selected, &mid_x, &mid_y); in CMD_TH_Merge() 213 BA_ChangeTH(*it, Thing::F_Y, MakeValidCoord(mid_y)); in CMD_TH_Merge()
|
/dports/games/frogatto/frogatto-1.3.1/src/ |
H A D | pathfinding.cpp | 174 const int mid_y = mid_xy.y; in get_neighbours_from_rect() local 178 res.push_back(point(mid_x - tile_size_x, mid_y)); in get_neighbours_from_rect() 182 res.push_back(point(mid_x + tile_size_y, mid_y)); in get_neighbours_from_rect() 184 if(mid_y - tile_size_y >= b.y()) { in get_neighbours_from_rect() 186 res.push_back(point(mid_x, mid_y - tile_size_y)); in get_neighbours_from_rect() 188 if(mid_y + tile_size_y < b.y2()) { in get_neighbours_from_rect() 190 res.push_back(point(mid_x, mid_y + tile_size_y)); in get_neighbours_from_rect() 195 res.push_back(point(mid_x - tile_size_x, mid_y - tile_size_y)); in get_neighbours_from_rect() 199 res.push_back(point(mid_x + tile_size_x, mid_y - tile_size_y)); in get_neighbours_from_rect() 203 res.push_back(point(mid_x - tile_size_x, mid_y + tile_size_y)); in get_neighbours_from_rect() [all …]
|
/dports/multimedia/olive/olive-0.1.2/effects/internal/ |
H A D | cornerpin.vert | 24 float mid_y = m1 * mid_x + c1; 26 float d0 = length(vec2(mid_x - p0.x, mid_y - p0.y)); 27 float d1 = length(vec2(p1.x - mid_x, mid_y - p1.y)); 28 float d2 = length(vec2(p3.x - mid_x, p3.y - mid_y)); 29 float d3 = length(vec2(mid_x - p2.x, p2.y - mid_y));
|
/dports/graphics/minder/Minder-1.13.1/src/styles/ |
H A D | LinkTypeRounded.vala | 82 double mid_y, rnd_y, rnd_x; 83 …adjust_mid( from_node, side, from_y, to_y, from_x, to_x, radius, out mid_y, out rnd_y, out rnd_x ); 85 taily = mid_y; 86 ctx.line_to( from_x, mid_y ); 87 ctx.line_to( rnd_x, mid_y ); 88 ctx.curve_to( rnd_x, mid_y, to_x, mid_y, to_x, rnd_y );
|
/dports/comms/xastir/Xastir-Release-2.1.8/src/ |
H A D | location.c | 81 void map_pos(long mid_y, long mid_x, long sz) in map_pos() argument 91 center_latitude = mid_y; in map_pos() 93 scale_x = get_x_scale(mid_x,mid_y,scale_y); in map_pos()
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/apps/hexagon_benchmarks/ |
H A D | median3x3_generator.cpp | 24 mid_y(x, y) = mid(bounded_input(x, y - 1), bounded_input(x, y), bounded_input(x, y + 1)); in generate() 28 midmid_x(x, y) = mid(mid_y(x - 1, y), mid_y(x, y), mid_y(x + 1, y)); in generate() 75 Func max_y{"max_y"}, min_y{"min_y"}, mid_y{"mid_y"}; member in Median3x3
|
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/props/utilities/ |
H A D | piston_machine.cfg | 9 on_start_level: "[spawn('piston_machine.front_wheel',mid_x-40*facing,mid_y+44,facing), 10 spawn('piston_machine.back_wheel',mid_x-40*facing,mid_y+24,facing), 13 …gg'),set(x_bound,mid_x-50),set(x2_bound,mid_x+50),set(y_bound,mid_y-50),set(y2_bound,mid_y+50),set…
|
/dports/sysutils/rmlint/rmlint-2.10.1-11-ga726d0cb/gui/shredder/ |
H A D | chart.py | 107 mid_x, mid_y = alloc.width / 2, alloc.height / 2 108 mid = min(mid_x, mid_y) 117 ctx.arc(mid_x, mid_y, radius_a_px, deg_a, deg_b) 118 ctx.arc_negative(mid_x, mid_y, radius_b_px, deg_b, deg_a) 136 mid_x, mid_y, radius_a_px, mid_x, mid_y, radius_b_px 306 mid_x, mid_y = alloc.width / 2, alloc.height / 2 314 rad = ((self.layer + offset) / (max_layers + 1)) * min(mid_x, mid_y) 318 return mid_x + rad * math.cos(deg), mid_y + rad * math.sin(deg) 477 mid_x, mid_y = alloc.width / 2, alloc.height / 2 481 x, y = event.x - mid_x, event.y - mid_y [all …]
|
/dports/cad/gerbv/gerbv-2.7.0/src/ |
H A D | pick-and-place.c | 326 pnpPartData.mid_y = pick_and_place_get_float_unit(row[3], def_unit); in pick_and_place_parse_file() 344 pnpPartData.mid_y = pick_and_place_get_float_unit(row[4], def_unit); in pick_and_place_parse_file() 346 pnpPartData.pad_y = pnpPartData.mid_y + 0.03; in pick_and_place_parse_file() 372 pnpPartData.pad_y - pnpPartData.mid_y, tr_rot, &tmp_x, &tmp_y); in pick_and_place_parse_file() 641 partData.mid_y + labelOffset + draw_width; in pick_and_place_convert_pnp_data_to_image() 644 gerb_transf_shift(tr_rot, partData.mid_x, partData.mid_y); in pick_and_place_convert_pnp_data_to_image() 730 curr_net->start_y = partData.mid_y; in pick_and_place_convert_pnp_data_to_image() 732 partData.pad_y - partData.mid_y, tr_rot, &tmp_x, &tmp_y); in pick_and_place_convert_pnp_data_to_image() 744 curr_net->start_y = partData.mid_y; in pick_and_place_convert_pnp_data_to_image() 752 curr_net->cirseg->cp_y = partData.mid_y; in pick_and_place_convert_pnp_data_to_image() [all …]
|
/dports/games/supertux/supertux-0.1.3/src/ |
H A D | mousecursor.cpp | 25 MouseCursor::MouseCursor(std::string cursor_file, int frames) : mid_x(0), mid_y(0) in MouseCursor() 59 mid_y = y; in set_mid() 91 cursor->draw_part(w*cur_frame, h*cur_state , x-mid_x, y-mid_y, w, h); in draw()
|
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/circuits/ |
H A D | _block_diagram_drawer.py | 127 mid_y = (height - 1) // 2 131 out_chars[mid_y][: mid_x + 1] = self.left * (mid_x + 1) 133 out_chars[mid_y][mid_x:] = self.right * (width - mid_x) 137 for y in range(mid_y + 1): 140 for y in range(mid_y, height): 147 y = mid_y - (len(content_lines) - 1) // 2
|
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/circuits/ |
H A D | _block_diagram_drawer.py | 127 mid_y = (height - 1) // 2 131 out_chars[mid_y][: mid_x + 1] = self.left * (mid_x + 1) 133 out_chars[mid_y][mid_x:] = self.right * (width - mid_x) 137 for y in range(mid_y + 1): 140 for y in range(mid_y, height): 147 y = mid_y - (len(content_lines) - 1) // 2
|
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/circuits/ |
H A D | _block_diagram_drawer.py | 127 mid_y = (height - 1) // 2 131 out_chars[mid_y][: mid_x + 1] = self.left * (mid_x + 1) 133 out_chars[mid_y][mid_x:] = self.right * (width - mid_x) 137 for y in range(mid_y + 1): 140 for y in range(mid_y, height): 147 y = mid_y - (len(content_lines) - 1) // 2
|
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/circuits/ |
H A D | _block_diagram_drawer.py | 127 mid_y = (height - 1) // 2 131 out_chars[mid_y][: mid_x + 1] = self.left * (mid_x + 1) 133 out_chars[mid_y][mid_x:] = self.right * (width - mid_x) 137 for y in range(mid_y + 1): 140 for y in range(mid_y, height): 147 y = mid_y - (len(content_lines) - 1) // 2
|
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/circuits/ |
H A D | _block_diagram_drawer.py | 127 mid_y = (height - 1) // 2 131 out_chars[mid_y][: mid_x + 1] = self.left * (mid_x + 1) 133 out_chars[mid_y][mid_x:] = self.right * (width - mid_x) 137 for y in range(mid_y + 1): 140 for y in range(mid_y, height): 147 y = mid_y - (len(content_lines) - 1) // 2
|
/dports/databases/grass7/grass-7.8.6/display/d.rast.arrow/ |
H A D | main.c | 588 double x, y, dx, dy, mid_x, mid_y; in arrow_mag() local 595 mid_y = row + (.5); in arrow_mag() 600 D_move_abs(mid_x, mid_y); in arrow_mag() 604 y = mid_y + (length * sin(D2R(theta))); in arrow_mag() 610 dy = mid_y + (0.6 * length * sin(D2R(theta_offset))); in arrow_mag() 617 dy = mid_y + (0.6 * length * sin(D2R(theta_offset))); in arrow_mag() 627 double x, y, dx, dy, mid_x, mid_y; in arrow_360() local 635 mid_y = row + (0.5); in arrow_360() 641 y = mid_y + (max_radius * sin(D2R(theta))); in arrow_360() 653 dy = mid_y + (0.5 * max_radius * sin(D2R(theta_offset))); in arrow_360() [all …]
|
/dports/devel/autodia/Autodia-2.14/lib/Autodia/Diagram/ |
H A D | Dependancy.pm | 116 my $mid_y = $bottom_y - 1.5; 117 my $top_y= $mid_y - 1.5; 123 $self->{"mid_y"}, $self->{"bottom_y"}) = ($right_x, $top_y, $mid_y, $bottom_y);
|
H A D | Inheritance.pm | 119 my $mid_y = $bottom_y - 1.5; 120 my $top_y= $mid_y - 1.5; 127 $self->{"mid_y"}, $self->{"bottom_y"}) = ($right_x, $top_y, $mid_y, $bottom_y);
|
H A D | Realization.pm | 101 my $mid_y = $bottom_y - 1.5; 102 my $top_y = $mid_y - 1.5; 110 ) = ( $right_x, $top_y, $mid_y, $bottom_y );
|