Home
last modified time | relevance | path

Searched refs:pos_y (Results 1 – 25 of 1901) sorted by relevance

12345678910>>...77

/dports/x11-toolkits/plib/plib-1.8.5/src/pui/
H A DpuArrowButton.cxx50 glVertex2i ( pos_x - size_x/4, pos_y - size_y/4 ) ; in UL_RTTI_DEF1()
51 glVertex2i ( pos_x , pos_y + size_y/4 ) ; in UL_RTTI_DEF1()
52 glVertex2i ( pos_x + size_x/4, pos_y - size_y/4 ) ; in UL_RTTI_DEF1()
58 glVertex2i ( pos_x - size_x/4, pos_y + size_y/4 ) ; in UL_RTTI_DEF1()
59 glVertex2i ( pos_x , pos_y - size_y/4 ) ; in UL_RTTI_DEF1()
60 glVertex2i ( pos_x + size_x/4, pos_y + size_y/4 ) ; in UL_RTTI_DEF1()
66 glVertex2i ( pos_x - size_x/4, pos_y - size_y/4 ) ; in UL_RTTI_DEF1()
67 glVertex2i ( pos_x , pos_y ) ; in UL_RTTI_DEF1()
68 glVertex2i ( pos_x + size_x/4, pos_y - size_y/4 ) ; in UL_RTTI_DEF1()
70 glVertex2i ( pos_x - size_x/4, pos_y ) ; in UL_RTTI_DEF1()
[all …]
/dports/audio/stymulator/STYMulator-0.21a/src/
H A Dui.c40 int pos_x = 0, pos_y = 0; variable
46 int y = pos_y; in draw_frame()
48 move(pos_y, pos_x+1); in draw_frame()
53 move(pos_y+8, pos_x+1); in draw_frame()
55 move(pos_y+12, pos_x+1); in draw_frame()
57 for (y = pos_y; y < pos_y + 13; y++) { in draw_frame()
61 mvaddstr(pos_y+1, pos_x+5, "Filename.:"); in draw_frame()
72 mvaddstr(pos_y+6, pos_x+58, "Status.:"); in draw_frame()
73 mvaddstr(pos_y+7, pos_x+58, "Repeat.:"); in draw_frame()
103 pos_y=(LINES - height) / 2; in ui_init()
[all …]
/dports/cad/lepton-eda/lepton-eda-1.9.17/contrib/gmk_sym/
H A Dgmk_sym.c263 printf("L %d %d %d %d %d 0 0 0 -1 -1\n",pos_x+-50,pos_y,pos_x+50,pos_y,color); in cross()
264 printf("L %d %d %d %d %d 0 0 0 -1 -1\n",pos_x,pos_y+50,pos_x,pos_y-50,color); in cross()
331 y = pos_y; in pin_add()
421 { int pos_x=300,pos_y=300; in make_box() local
490 pos_y = pin_0_y+50; in make_box()
495 pos_y = pin_0_y+50; in make_box()
500 pos_y = pin_0_y+50; in make_box()
521 pos_y = pin_0_y-BoxHeight/2; in make_box()
527 pos_y = pin_0_y+50; in make_box()
626 pos_y = pin_spacing; in make_pin()
[all …]
/dports/games/gbrainy/gbrainy-2.4.3/src/Games/Logic/
H A DPuzzle3DCube.cs81 for (int pos_y = 0; pos_y < rows; pos_y++) in Draw()
86 gr.MoveTo (x, y + (pos_y * size)); in Draw()
87 gr.LineTo (x, y + ((pos_y + 1) * size)); in Draw()
95 gr.MoveTo (x + (size * pos_x) , y + (pos_y * size)); in Draw()
96 gr.LineTo (x + (size * (pos_x + 1)), y + (pos_y * size)); in Draw()
107 for (int pos_y = 0; pos_y < rows; pos_y++) in Draw()
109 offset_x = (0.025 * pos_y); in Draw()
114 gr.MoveTo (x + offset_x, y - (pos_y * size_y)); in Draw()
133 for (int pos_y = 0; pos_y < rows; pos_y++) in Draw()
140 gr.MoveTo (x + offset_x, y - offset_y + (pos_y * size)); in Draw()
[all …]
H A DPuzzleDivideCircle.cs96 double pos_y = y; in Draw()
104 DrawAndConnectPoints (gr, pos_x, pos_y, in Draw()
110 gr.DrawTextCentered (pos_x + figure_size, pos_y + figure_size * 2 + 0.07, HasNRegionString (2)); in Draw()
115 gr.Arc (pos_x + figure_size, pos_y + figure_size, figure_size, 0, 2 * Math.PI); in Draw()
117 DrawAndConnectPoints (gr, pos_x, pos_y, in Draw()
124 gr.DrawTextCentered (pos_x + figure_size, pos_y + figure_size * 2 + 0.07, HasNRegionString (4)); in Draw()
129 pos_y += 0.45; in Draw()
130 gr.Arc (pos_x + figure_size, pos_y + figure_size, figure_size, 0, 2 * Math.PI); in Draw()
132 DrawAndConnectPoints (gr, pos_x, pos_y, in Draw()
167 gr.Arc (pos_x + figure_size, pos_y + figure_size, figure_size, 0, 2 * Math.PI); in Draw()
[all …]
/dports/multimedia/jmref/JM/lcommon/src/
H A Dmv_prediction.c47 ? mv_info[block[0].pos_y][block[0].pos_x].ref_idx[list] in GetMotionVectorPredictorMBAFF()
51 ? mv_info[block[1].pos_y][block[1].pos_x].ref_idx[list] in GetMotionVectorPredictorMBAFF()
55 ? mv_info[block[2].pos_y][block[2].pos_x].ref_idx[list] in GetMotionVectorPredictorMBAFF()
62 ? mv_info[block[0].pos_y][block[0].pos_x].ref_idx[list] >>1 in GetMotionVectorPredictorMBAFF()
66 ? mv_info[block[1].pos_y][block[1].pos_x].ref_idx[list] >>1 in GetMotionVectorPredictorMBAFF()
70 ? mv_info[block[2].pos_y][block[2].pos_x].ref_idx[list] >>1 in GetMotionVectorPredictorMBAFF()
125 ? mv_info[block[0].pos_y][block[0].pos_x].mv[list].mv_y in GetMotionVectorPredictorMBAFF()
129 ? mv_info[block[1].pos_y][block[1].pos_x].mv[list].mv_y in GetMotionVectorPredictorMBAFF()
274 *pmv = mv_info[block[0].pos_y][block[0].pos_x].mv[list]; in GetMotionVectorPredictorNormal()
284 *pmv = mv_info[block[1].pos_y][block[1].pos_x].mv[list]; in GetMotionVectorPredictorNormal()
[all …]
/dports/cad/geda/geda-gaf-1.8.2/utils/src/
H A Dgmk_sym.c266 printf("L %d %d %d %d %d 0 0 0 -1 -1\n",pos_x+-50,pos_y,pos_x+50,pos_y,color); in cross()
267 printf("L %d %d %d %d %d 0 0 0 -1 -1\n",pos_x,pos_y+50,pos_x,pos_y-50,color); in cross()
317 y = pos_y; in pin_add()
407 { int pos_x=300,pos_y=300; in make_box() local
476 pos_y = pin_0_y+50; in make_box()
481 pos_y = pin_0_y+50; in make_box()
486 pos_y = pin_0_y+50; in make_box()
507 pos_y = pin_0_y-BoxHeight/2; in make_box()
513 pos_y = pin_0_y+50; in make_box()
606 pos_y = pin_spacing; in make_pin()
[all …]
/dports/emulators/nemu/nemu-3.0.0/src/
H A Dnm_easter_egg.c30 int pos_y; in nm_si_game() member
72 .pos_y = 3, in nm_si_game()
108 .pos_y = start_y, in nm_si_game()
188 (e->pos_y == b->pos_y)) { in nm_si_game()
264 if (((eo->pos_y - 1 >= e->pos_y && in nm_si_game()
265 eo->pos_y - 1 <= e->pos_y + 5)) && in nm_si_game()
282 .pos_y = e->pos_y + 1, in nm_si_game()
319 b->pos_y--; in nm_si_game()
337 (bonus.pos_y == b->pos_y)) { in nm_si_game()
390 (player.pos_y == b->pos_y)) { in nm_si_game()
[all …]
/dports/games/freedoko/FreeDoko_0.7.19/src/ui/gtkmm/
H A Dtrick_drawing.cpp124 pos_y -= this->ui->cards->height(); in draw()
127 pos_y += this->overlap_y(); in draw()
133 pos_y -= this->overlap_y(); in draw()
145 pos_y += this->overlap_y(); in draw()
155 pos_y -= this->overlap_y(); in draw()
199 int pos_y = this->center.get_y(); in mouse_over_cards() local
208 pos_y += this->overlap_y(); in mouse_over_cards()
214 pos_y -= this->overlap_y(); in mouse_over_cards()
226 pos_y += this->overlap_y(); in mouse_over_cards()
236 pos_y -= this->overlap_y(); in mouse_over_cards()
[all …]
/dports/devel/libflatarray/libflatarray-0.3.0/examples/smoothed_particle_hydrodynamics/
H A Dkernels.c23 float delta_y = pos_y[i] - pos_y[j]; in compute_density()
40 float *restrict pos_y, in compute_accel() argument
67 float delta_y = pos_y[i] - pos_y[j]; in compute_accel()
92 float *pos_y, in damp_reflect() argument
97 float *pos_which = (which == 0) ? pos_x : pos_y; in damp_reflect()
108 pos_y[0] -= v_y[0]*(1-DAMP)*tbounce; in damp_reflect()
122 float *restrict pos_y, in reflect_bc() argument
139 if (pos_y[i] < YMIN) { in reflect_bc()
142 if (pos_y[i] > YMAX) { in reflect_bc()
151 float *restrict pos_y, in leapfrog() argument
[all …]
H A Dmain.cpp19 float *pos_y, in place_particles() argument
30 pos_y[index] = y; in place_particles()
73 float *coords[] = {(float*)pos_x, (float*)pos_y}; in dump_time_step()
94 float pos_y; member in Particle
124 std::vector<float> pos_y(count); in main_c() local
147 pos_y.data(), in main_c()
155 pos_y.data(), in main_c()
170 pos_y.data(), in main_c()
180 pos_y.data(), in main_c()
247 &particles.pos_y(), in operator ()()
[all …]
/dports/games/abe/abe-1.1/src/
H A DEditor.c31 cursor.pos_y = SAVE_Y; in makeMap()
117 pos.pos_y = y; in drawSlide()
148 pos.pos_y = y; in drawRect()
183 cursor.pos_y--; in editorMainLoop()
185 cursor.pos_y = 0; in editorMainLoop()
190 cursor.pos_y++; in editorMainLoop()
202 pos.pos_y = map.top_left_y + editor_cursor.pos_y; in editorMainLoop()
207 pos.pos_y = map.top_left_y + editor_cursor.pos_y; in editorMainLoop()
231 cursor.pos_y++; in editorMainLoop()
238 cursor.pos_y--; in editorMainLoop()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bil/algo/
H A Dbil_wshed2d.cxx113 int neigh_y = pos_y + j; in add_connected_pixels_to_queue()
127 queue_y.push_back(pos_y); in add_connected_pixels_to_queue()
235 int neigh_y = pos_y + j; in flood_new_basin_from_given_point()
266 int neigh_y = pos_y + j; in get_the_smallest_neighbor_region_label()
307 int neigh_y = pos_y + j; in is_there_a_neighbor_of_smaller_label()
342 int pos_y = queue_y.front(); in process_connected_pixels_in_queue() local
356 pos_y = queue_y.front(); in process_connected_pixels_in_queue()
372 int neigh_y = pos_y + j; in process_given_connected_pixel()
388 if (output_img_(pos_x, pos_y) == WSHED_MASK || output_img_(pos_x, pos_y) == WSHED) in process_given_connected_pixel()
419 distance_map_(pos_x, pos_y) = 0; in process_new_discovered_minima()
[all …]
/dports/devel/color/color-a04952cf27cc315e31811f2e940221bf8cf9f8ca/example/test/
H A Dallrgb.cpp332 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_red()
340 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_red()
351 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_green()
359 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_green()
370 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_blue()
378 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_blue()
389 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_cyan()
397 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_cyan()
408 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_magenta()
416 for( int y = pos_y; y < pos_y + len_y; y++ ) in make_magenta()
[all …]
/dports/multimedia/jmref/JM/lencod/src/
H A Dintra_chroma.c217 int pos_y = pix_a.pos_y; in set_intrapred_chroma() local
411 pix_a[i].pos_y = pix_a[i].pos_y >> 1; in rdo_low_intra_chroma_decision_mbaff()
497 int pos_y = pix_a.pos_y; in rdo_low_intra_chroma_decision() local
614 int pos_y = pix_c.pos_y; in intra_chroma_prediction() local
622 int pos_y = pix_a.pos_y + block_y; in intra_chroma_prediction() local
641 int pos_y = pix_c.pos_y; in intra_chroma_prediction() local
663 int pos_y = pix_a.pos_y + block_y; in intra_chroma_prediction() local
673 int pos_y = pix_c.pos_y; in intra_chroma_prediction() local
729 int pos_y = pix_a.pos_y; in intra_chroma_prediction() local
1114 int pos_y = pix_a.pos_y; in intra_chroma_RD_decision() local
[all …]
/dports/multimedia/jmref/JM/ldecod/src/
H A Dintra16x16_pred.c63 imgpel *pel = &imgY[b.pos_y][b.pos_x]; in intra16x16_dc_pred()
73 int pos_y = a.pos_y; in intra16x16_dc_pred() local
77 s2 += imgY[pos_y++][pos_x]; in intra16x16_dc_pred()
182 int pos_y, pos_x; in intra16x16_hor_pred() local
202 pos_y = a.pos_y; in intra16x16_hor_pred()
209 prediction = imgY[pos_y++][pos_x]; in intra16x16_hor_pred()
215 prediction = imgY[pos_y++][pos_x]; in intra16x16_hor_pred()
255 int pos_y, pos_x; in intra16x16_plane_pred() local
282 pos_y = a.pos_y + 7; in intra16x16_plane_pred()
287 iv += i*(imgY[pos_y + i][pos_x] - imgY[pos_y - i][pos_x]); in intra16x16_plane_pred()
[all …]
H A Dintra16x16_pred_normal.c65 imgpel *pel = &imgY[b.pos_y][b.pos_x]; in intra16x16_dc_pred()
75 int pos_y = a.pos_y; in intra16x16_dc_pred() local
79 s2 += imgY[pos_y++][pos_x]; in intra16x16_dc_pred()
189 int pos_y, pos_x; in intra16x16_hor_pred() local
209 pos_y = a.pos_y; in intra16x16_hor_pred()
215 prediction = imgY[pos_y++][pos_x]; in intra16x16_hor_pred()
257 int pos_y, pos_x; in intra16x16_plane_pred() local
283 mpr_line = &imgY[b.pos_y][b.pos_x+7]; in intra16x16_plane_pred()
284 pos_y = a.pos_y + 7; in intra16x16_plane_pred()
289 iv += i*(imgY[pos_y + i][pos_x] - imgY[pos_y - i][pos_x]); in intra16x16_plane_pred()
[all …]
/dports/x11-toolkits/gtkglarea2/gtkglarea-2.0.1/examples/
H A Dzktor.c53 float pos_x,pos_y; member
96 float dy = a->pos_y - b->pos_y; in collision()
140 player.pos_y = 0; in game_init()
242 p_bullet[i].pos_y = player.pos_y + player.radius*dy; in game_play()
260 particle[i].pos_y = player.pos_y - player.radius*dy; in game_play()
275 player.pos_y = 0; in game_play()
287 y = player.pos_y - enemy[i].pos_y; in game_play()
326 enemy[i].pos_y = 100; in game_play()
337 e_bullet[j].pos_y = enemy[i].pos_y + enemy[i].radius*dy; in game_play()
373 vortex[i].pos_y = -200 - vortex[i].pos_y; in game_play()
[all …]
/dports/astro/opencpn/OpenCPN-5.2.4/src/
H A DNMEALogWindow.cpp50 , pos_y(0) in NMEALogWindow()
75 pos_y = wxMax(pos_y, 40); in Create()
77 window->SetSize(pos_x, pos_y, width, height); in Create()
108 pos_y = pos.y; in SetPos()
132 return pos_y; in GetPosY()
150 pos_y = y; in SetPos()
157 if ((pos_y < 0) || (pos_y > display_height)) in CheckPos()
158 pos_y = 5; in CheckPos()
173 window->Move(pos_x, pos_y); in Move()
/dports/games/vultures-eye/vulture-2.3.67/vulture/winclass/
H A Dmainwin.cpp28 int pos_x, pos_y; in draw() local
58 pos_y = y + border_top; in draw()
60 while (pos_y <= y + h - border_bottom) { in draw()
62 pos_y += vulture_winelem.border_left->h; in draw()
68 pos_y = y + border_top; in draw()
70 while (pos_y <= y + h - border_bottom) { in draw()
72 pos_y += vulture_winelem.border_right->h; in draw()
78 pos_y = y + border_top; in draw()
79 while (pos_y <= y + h - border_bottom) { in draw()
86 pos_y += vulture_winelem.center->h; in draw()
[all …]
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/
H A DSurface.cpp59 coord_t pos_y = pos(1) + scale_(1.5); in export_surface_type_legend_to_svg() local
61 … svg.draw_legend(Point(pos_x, pos_y), "perimeter" , surface_type_to_color_name(stPerimeter)); in export_surface_type_legend_to_svg()
63 svg.draw_legend(Point(pos_x, pos_y), "top" , surface_type_to_color_name(stTop)); in export_surface_type_legend_to_svg()
65 svg.draw_legend(Point(pos_x, pos_y), "bottom" , surface_type_to_color_name(stBottom)); in export_surface_type_legend_to_svg()
67 …svg.draw_legend(Point(pos_x, pos_y), "bottom bridge" , surface_type_to_color_name(stBottomBridge)… in export_surface_type_legend_to_svg()
69 …svg.draw_legend(Point(pos_x, pos_y), "invalid" , surface_type_to_color_name(SurfaceType(-1)… in export_surface_type_legend_to_svg()
72 pos_y = pos(1)+scale_(2.8); in export_surface_type_legend_to_svg()
73 svg.draw_legend(Point(pos_x, pos_y), "internal" , surface_type_to_color_name(stInternal)); in export_surface_type_legend_to_svg()
75 …svg.draw_legend(Point(pos_x, pos_y), "internal solid" , surface_type_to_color_name(stInternalSolid… in export_surface_type_legend_to_svg()
77 …svg.draw_legend(Point(pos_x, pos_y), "internal bridge", surface_type_to_color_name(stInternalBridg… in export_surface_type_legend_to_svg()
[all …]
/dports/games/mirrormagic/mirrormagic-2.0.2/src/
H A Dcartoons.c247 pos_y = 0; in AnimateToon()
284 pos_y = FULL_SYSIZE+delta_y; in AnimateToon()
314 if (pos_y<-anim->height) in AnimateToon()
315 pos_y = -anim->height; in AnimateToon()
316 else if (pos_y>FULL_SYSIZE) in AnimateToon()
317 pos_y = FULL_SYSIZE; in AnimateToon()
324 dest_y = pos_y; in AnimateToon()
338 if (pos_y<0) in AnimateToon()
341 height += pos_y; in AnimateToon()
342 cut_y = -pos_y; in AnimateToon()
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Ditems.c132 (my > buttons_grid.pos_y) && (my < buttons_grid.pos_y + buttons_grid.len_y)) { in over_button()
1153 (my < text_arrow.pos_y) && (my > text_arrow.pos_y - text_arrow.len_y)) in click_items_handler()
1162 (my > unequip_arrow.pos_y) && (my < unequip_arrow.pos_y + unequip_arrow.len_y)) in click_items_handler()
1437 (my > equip_grid.pos_y) && (my < equip_grid.pos_y + equip_grid.len_y)){ in click_items_handler()
1473 (my > message_box.pos_y) && (my < message_box.pos_y + message_box.len_y)) { in click_items_handler()
1500 (my < text_arrow.pos_y) && (my > text_arrow.pos_y - text_arrow.len_y)) in mouseover_items_handler()
1539 (my > equip_grid.pos_y) && (my < equip_grid.pos_y + equip_grid.len_y)) { in mouseover_items_handler()
1561 (my > message_box.pos_y) && (my < message_box.pos_y + message_box.len_y)) { in mouseover_items_handler()
1714 items_grid.pos_y = 0; in show_items_handler()
1731 items_grid.pos_y = 0; in show_items_handler()
[all …]
/dports/games/rnd_jue/rnd_jue-3.3.0.0/src/libgame/
H A Dtoons.c221 pos_y = 0; in AnimateToon()
223 pos_y = pos_bottom; in AnimateToon()
258 pos_y = -anim->height + delta_y; in AnimateToon()
293 if (pos_y < -anim->height) in AnimateToon()
294 pos_y = -anim->height; in AnimateToon()
296 pos_y = screen_info.height; in AnimateToon()
303 dest_y = pos_y; in AnimateToon()
317 if (pos_y < 0) in AnimateToon()
320 height += pos_y; in AnimateToon()
321 cut_y = -pos_y; in AnimateToon()
[all …]
/dports/games/rnd_jue/rocksndiamonds-3.3.1.0/src/libgame/
H A Dtoons.c221 pos_y = 0; in AnimateToon()
223 pos_y = pos_bottom; in AnimateToon()
258 pos_y = -anim->height + delta_y; in AnimateToon()
293 if (pos_y < -anim->height) in AnimateToon()
294 pos_y = -anim->height; in AnimateToon()
296 pos_y = screen_info.height; in AnimateToon()
303 dest_y = pos_y; in AnimateToon()
317 if (pos_y < 0) in AnimateToon()
320 height += pos_y; in AnimateToon()
321 cut_y = -pos_y; in AnimateToon()
[all …]

12345678910>>...77