/dports/x11-toolkits/plib/plib-1.8.5/src/pui/ |
H A D | puArrowButton.cxx | 50 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 D | ui.c | 40 int pos_x = 0, pos_y = 0; variable 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() 58 mvaddch(y, pos_x, '|'); in draw_frame() 59 mvaddch(y, pos_x+79, '|'); 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() 104 pos_x=(COLS - width) / 2; in ui_init() [all …]
|
/dports/emulators/nemu/nemu-3.0.0/src/ |
H A D | nm_easter_egg.c | 29 int pos_x; in nm_si_game() member 71 .pos_x = 1, in nm_si_game() 107 .pos_x = start_x, in nm_si_game() 153 .pos_x = player.pos_x + 1, in nm_si_game() 187 if (((b->pos_x >= e->pos_x && b->pos_x <= e->pos_x + 2)) && in nm_si_game() 254 direction ? e->pos_x++ : e->pos_x--; in nm_si_game() 266 (e->pos_x == eo->pos_x)) { in nm_si_game() 281 .pos_x = e->pos_x + 1, in nm_si_game() 336 if (((b->pos_x >= bonus.pos_x && b->pos_x <= bonus.pos_x + 2)) && in nm_si_game() 373 (b_direction) ? bonus.pos_x++ : bonus.pos_x--; in nm_si_game() [all …]
|
/dports/multimedia/obs-audio-spectralizer/spectralizer-1.3.4/src/util/audio/ |
H A D | wire_visualizer.cpp | 29 size_t i = 0, pos_x = 0; in make_thin() local 45 gs_vertex2f(pos_x, center + offset + height); in make_thin() 71 size_t i = 0, pos_x = 0; in make_thick() local 116 size_t i = 0, pos_x = 0; in make_filled() local 133 gs_vertex2f(pos_x, center + offset); in make_filled() 142 gs_vertex2f(pos_x, center - offset); in make_filled() 151 gs_vertex2f(pos_x, m_cfg->bar_height); in make_filled() 160 size_t i = 0, pos_x = 0; in make_filled_inverted() local 177 gs_vertex2f(pos_x, m_cfg->cx); in make_filled_inverted() 186 gs_vertex2f(pos_x, 0); in make_filled_inverted() [all …]
|
H A D | bar_visualizer.cpp | 27 size_t i = 0, pos_x = 0; in draw_rectangle_bars() local 34 pos_x = i * (m_cfg->bar_width + m_cfg->bar_space); in draw_rectangle_bars() 36 gs_matrix_translate3f(pos_x, (m_cfg->bar_height - height), 0); in draw_rectangle_bars() 44 size_t i = 0, pos_x = 0; in draw_stereo_rectangle_bars() local 58 pos_x = i * (m_cfg->bar_width + m_cfg->bar_space); in draw_stereo_rectangle_bars() 68 gs_matrix_translate3f(pos_x, center + offset, 0); in draw_stereo_rectangle_bars() 76 size_t i = 0, pos_x = 0; in draw_rounded_bars() local 87 pos_x = i * (m_cfg->bar_width + m_cfg->bar_space); in draw_rounded_bars() 101 size_t i = 0, pos_x = 0; in draw_stereo_rounded_bars() local 116 pos_x = i * (m_cfg->bar_width + m_cfg->bar_space); in draw_stereo_rounded_bars() [all …]
|
/dports/cad/lepton-eda/lepton-eda-1.9.17/contrib/gmk_sym/ |
H A D | gmk_sym.c | 263 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() 330 x = pos_x; in pin_add() 421 { int pos_x=300,pos_y=300; in make_box() local 489 pos_x = pin_0_x; in make_box() 504 pos_x = pin_0_x; in make_box() 526 pos_x = pin_0_x; in make_box() 538 int pos_x=0,pos_y=0,shape,side=0,i; in make_pin() local 612 pos_x = pin_spacing; in make_pin() 616 pos_x = pin_spacing; in make_pin() [all …]
|
/dports/multimedia/jmref/JM/lcommon/src/ |
H A D | mv_prediction.c | 47 ? 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 D | gmk_sym.c | 266 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() 316 x = pos_x; in pin_add() 407 { int pos_x=300,pos_y=300; in make_box() local 475 pos_x = pin_0_x; in make_box() 490 pos_x = pin_0_x; in make_box() 512 pos_x = pin_0_x; in make_box() 524 int pos_x=0,pos_y=0,shape,side=0,i; in make_pin() local 592 pos_x = pin_spacing; in make_pin() 596 pos_x = pin_spacing; in make_pin() [all …]
|
/dports/devel/color/color-a04952cf27cc315e31811f2e940221bf8cf9f8ca/example/test/ |
H A D | allrgb.cpp | 333 for( int x = pos_x; x < pos_x + len_x/2; x++ ) in make_red() 341 for( int x = pos_x+len_x/2; x < pos_x + len_x; x++ ) in make_red() 352 for( int x = pos_x; x < pos_x + len_x/2; x++ ) in make_green() 360 for( int x = pos_x+len_x/2; x < pos_x + len_x; x++ ) in make_green() 371 for( int x = pos_x; x < pos_x + len_x/2; x++ ) in make_blue() 390 for( int x = pos_x; x < pos_x + len_x/2; x++ ) in make_cyan() 409 for( int x = pos_x; x < pos_x + len_x/2; x++ ) in make_magenta() 428 for( int x = pos_x; x < pos_x + len_x/2; x++ ) in make_yellow() 447 for( int x = pos_x; x < pos_x + len_x; x++ ) in make_black() 456 for( int x = pos_x; x < pos_x + len_x; x++ ) in make_white() [all …]
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/ |
H A D | Surface.cpp | 58 coord_t pos_x = pos_x0; in export_surface_type_legend_to_svg() local 62 pos_x += step_x; 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() 64 pos_x += step_x; 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() 66 pos_x += step_x; in export_surface_type_legend_to_svg() 68 pos_x += step_x; in export_surface_type_legend_to_svg() 71 pos_x = pos_x0; in export_surface_type_legend_to_svg() 74 pos_x += step_x; in export_surface_type_legend_to_svg() 76 pos_x += step_x; in export_surface_type_legend_to_svg() [all …]
|
/dports/games/abe/abe-1.1/src/ |
H A D | Editor.c | 30 cursor.pos_x = SAVE_X; in makeMap() 116 pos.pos_x = x; in drawSlide() 147 pos.pos_x = x; in drawRect() 169 cursor.pos_x--; in editorMainLoop() 171 cursor.pos_x = 0; in editorMainLoop() 176 cursor.pos_x++; in editorMainLoop() 201 pos.pos_x = map.top_left_x + editor_cursor.pos_x; in editorMainLoop() 206 pos.pos_x = map.top_left_x + editor_cursor.pos_x; in editorMainLoop() 245 cursor.pos_x++; in editorMainLoop() 252 cursor.pos_x--; in editorMainLoop() [all …]
|
/dports/games/gbrainy/gbrainy-2.4.3/src/Games/Logic/ |
H A D | Puzzle3DCube.cs | 90 for (int pos_x = 0; pos_x < columns; pos_x++) 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() 97 gr.LineTo (x + (size * (pos_x + 1)), y + (pos_y + 1) * size); in Draw() 118 for (int pos_x = 0; pos_x < columns; pos_x++) in Draw() 120 gr.MoveTo (x + offset_x + (size * pos_x) , y - (pos_y * size_y)); in Draw() 121 gr.LineTo (x + offset_x + (size * (pos_x + 1)), y - (pos_y * size_y)); in Draw() 122 gr.LineTo (x + offset_x + 0.025 + (size * (pos_x + 1)), y - (pos_y + 1) * size_y); in Draw() 135 for (int pos_x = 0; pos_x < columns; pos_x++) in Draw() 137 offset_x = (size * columns) + (0.025 * pos_x); in Draw() [all …]
|
H A D | PuzzleDivideCircle.cs | 95 double pos_x = x; in Draw() 102 gr.Arc (pos_x + figure_size, y + figure_size, figure_size, 0, 2 * Math.PI); in Draw() 104 DrawAndConnectPoints (gr, pos_x, pos_y, in Draw() 114 pos_x += 0.4; 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() 128 pos_x = x; 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() 166 pos_x += 0.4; in Draw() [all …]
|
/dports/devel/libflatarray/libflatarray-0.3.0/examples/smoothed_particle_hydrodynamics/ |
H A D | kernels.c | 22 float delta_x = pos_x[i] - pos_x[j]; in compute_density() 39 float *restrict pos_x, in compute_accel() argument 66 float delta_x = pos_x[i] - pos_x[j]; in compute_accel() 91 float *pos_x, in damp_reflect() argument 97 float *pos_which = (which == 0) ? pos_x : pos_y; in damp_reflect() 107 pos_x[0] -= v_x[0]*(1-DAMP)*tbounce; in damp_reflect() 121 float *restrict pos_x, in reflect_bc() argument 133 if (pos_x[i] < XMIN) { in reflect_bc() 136 if (pos_x[i] > XMAX) { in reflect_bc() 150 float *restrict pos_x, in leapfrog() argument [all …]
|
H A D | main.cpp | 18 float *pos_x, in place_particles() argument 29 pos_x[index] = x; in place_particles() 73 float *coords[] = {(float*)pos_x, (float*)pos_y}; in dump_time_step() 93 float pos_x; member in Particle 123 std::vector<float> pos_x(count); in main_c() local 146 pos_x.data(), in main_c() 154 pos_x.data(), in main_c() 169 pos_x.data(), in main_c() 179 pos_x.data(), in main_c() 246 &particles.pos_x(), in operator ()() [all …]
|
/dports/games/vultures-eye/vulture-2.3.67/vulture/winclass/ |
H A D | mainwin.cpp | 28 int pos_x, pos_y; in draw() local 38 pos_x = x + border_left; in draw() 40 while (pos_x <= x + w - border_right) { in draw() 42 pos_x += vulture_winelem.border_top->w; in draw() 48 pos_x = x + border_left; in draw() 80 pos_x = x + border_left; in draw() 82 while (pos_x <= x + w - border_right) { in draw() 84 pos_x += vulture_winelem.center->w; in draw() 92 pos_x = this->abs_x + border_left; in draw() 157 winelem->x = pos_x + border_left; in layout() [all …]
|
/dports/games/freedoko/FreeDoko_0.7.19/src/ui/gtkmm/ |
H A D | trick_drawing.cpp | 126 pos_x -= this->overlap_x(); in draw() 132 pos_x += this->overlap_x(); in draw() 141 pos_x -= this->ui->cards->width(); in draw() 144 pos_x += this->overlap_x(); in draw() 154 pos_x -= this->overlap_x(); in draw() 198 int pos_x = this->center.get_x(); in mouse_over_cards() local 207 pos_x -= this->overlap_x(); in mouse_over_cards() 213 pos_x += this->overlap_x(); in mouse_over_cards() 225 pos_x += this->overlap_x(); in mouse_over_cards() 235 pos_x -= this->overlap_x(); in mouse_over_cards() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bil/algo/ |
H A D | bil_wshed2d.cxx | 120 int neigh_x = pos_x + i; in add_connected_pixels_to_queue() 242 int neigh_x = pos_x + i; in flood_new_basin_from_given_point() 273 int neigh_x = pos_x + i; in get_the_smallest_neighbor_region_label() 314 int neigh_x = pos_x + i; in is_there_a_neighbor_of_smaller_label() 341 int pos_x = queue_x.front(); in process_connected_pixels_in_queue() local 346 if (pos_x == -1) in process_connected_pixels_in_queue() 355 pos_x = queue_x.front(); in process_connected_pixels_in_queue() 379 int neigh_x = pos_x + i; 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/multimedia/jmref/JM/ldecod/src/ |
H A D | intra8x8_pred.c | 310 int pos_x = pix_a.pos_x; in intra8x8_dc_pred() local 311 P_Q = *(*(img_pred ++) + pos_x); in intra8x8_dc_pred() 312 P_R = *(*(img_pred ++) + pos_x); in intra8x8_dc_pred() 313 P_S = *(*(img_pred ++) + pos_x); in intra8x8_dc_pred() 533 int pos_x = pix_a.pos_x; in intra8x8_hor_pred() local 668 int pos_x = pix_a.pos_x; in intra8x8_diag_down_right_pred() local 814 int pos_x = pix_a.pos_x; in intra8x8_diag_down_left_pred() local 960 int pos_x = pix_a.pos_x; in intra8x8_vert_right_pred() local 1113 int pos_x = pix_a.pos_x; in intra8x8_vert_left_pred() local 1264 int pos_x = pix_a.pos_x; in intra8x8_hor_up_pred() local [all …]
|
H A D | intra8x8_pred_normal.c | 320 int pos_x = pix_a.pos_x; in intra8x8_dc_pred() local 321 P_Q = *(*(img_pred ++) + pos_x); in intra8x8_dc_pred() 322 P_R = *(*(img_pred ++) + pos_x); in intra8x8_dc_pred() 323 P_S = *(*(img_pred ++) + pos_x); in intra8x8_dc_pred() 549 int pos_x = pix_a.pos_x; in intra8x8_hor_pred() local 692 int pos_x = pix_a.pos_x; in intra8x8_diag_down_right_pred() local 845 int pos_x = pix_a.pos_x; in intra8x8_diag_down_left_pred() local 999 int pos_x = pix_a.pos_x; in intra8x8_vert_right_pred() local 1160 int pos_x = pix_a.pos_x; in intra8x8_vert_left_pred() local 1326 int pos_x = pix_a.pos_x; in intra8x8_hor_up_pred() local [all …]
|
H A D | intra_chroma_pred.c | 36 int pos_x = left.pos_x; in intra_chroma_DC_single() local 38 s0 += *((*cur_pel++) + pos_x); in intra_chroma_DC_single() 59 int pos_x = left.pos_x; in intra_chroma_DC_all() local 61 s1 += *((*cur_pel++) + pos_x); in intra_chroma_DC_all() 196 int pos_x = a.pos_x; in intrapred_chroma_hor() local 208 pred = (*i0++)[pos_x]; in intrapred_chroma_hor() 209 pred1 = (*i1++)[pos_x]; in intrapred_chroma_hor() 301 imgpel *upPred = &imgUV[up.pos_y][up.pos_x]; in intrapred_chroma_plane() 302 int pos_x = up_left.pos_x; in intrapred_chroma_plane() local 312 iv = cr_MB_y2 * (imgUV[left.pos_y + cr_MB_y - 1][pos_x] - imgUV[up_left.pos_y][pos_x]); in intrapred_chroma_plane() [all …]
|
H A D | intra16x16_pred.c | 63 imgpel *pel = &imgY[b.pos_y][b.pos_x]; in intra16x16_dc_pred() 74 int pos_x = a.pos_x; 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 203 pos_x = a.pos_x; 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 283 pos_x = a.pos_x; in intra16x16_plane_pred() 287 iv += i*(imgY[pos_y + i][pos_x] - imgY[pos_y - i][pos_x]); in intra16x16_plane_pred() [all …]
|
/dports/multimedia/jmref/JM/lencod/src/ |
H A D | intra_chroma.c | 218 int pos_x = pix_a.pos_x; in set_intrapred_chroma() local 496 int pos_x = pix_a.pos_x; in rdo_low_intra_chroma_decision() local 613 int pos_x = pix_c.pos_x + blk_x; in intra_chroma_prediction() local 621 int pos_x = pix_a.pos_x; in intra_chroma_prediction() local 640 int pos_x = pix_c.pos_x + blk_x; in intra_chroma_prediction() local 647 int pos_x = pix_a.pos_x; in intra_chroma_prediction() local 662 int pos_x = pix_a.pos_x; in intra_chroma_prediction() local 672 int pos_x = pix_c.pos_x + blk_x; in intra_chroma_prediction() local 689 int pos_x = pix_a.pos_x; in intra_chroma_prediction() local 728 int pos_x = pix_a.pos_x; in intra_chroma_prediction() local [all …]
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | items.c | 131 if ((mx > buttons_grid.pos_x) && (mx < buttons_grid.pos_x + buttons_grid.len_x) && in over_button() 1705 equip_grid.pos_x = buttons_grid.pos_x + buttons_grid.len_x + seperator; in show_items_handler() 1706 items_grid.pos_x = equip_grid.pos_x + equip_grid.len_x + seperator; in show_items_handler() 1710 items_grid.pos_x = buttons_grid.pos_x + buttons_grid.len_x + seperator; in show_items_handler() 1711 equip_grid.pos_x = items_grid.pos_x + items_grid.len_x + seperator; in show_items_handler() 1722 items_grid.pos_x = equip_grid.pos_x + equip_grid.len_x + seperator; in show_items_handler() 1723 buttons_grid.pos_x = items_grid.pos_x + items_grid.len_x + seperator; in show_items_handler() 1728 equip_grid.pos_x = items_grid.pos_x + items_grid.len_x + seperator; in show_items_handler() 1729 buttons_grid.pos_x = equip_grid.pos_x + equip_grid.len_x + seperator; in show_items_handler() 1757 message_box.pos_x = 4; in show_items_handler() [all …]
|
/dports/x11-toolkits/gtkglarea2/gtkglarea-2.0.1/examples/ |
H A D | zktor.c | 53 float pos_x,pos_y; member 95 float dx = a->pos_x - b->pos_x; in collision() 139 player.pos_x = 0; in game_init() 241 p_bullet[i].pos_x = player.pos_x + player.radius*dx; in game_play() 259 particle[i].pos_x = player.pos_x - player.radius*dx; in game_play() 274 player.pos_x = 0; in game_play() 286 x = player.pos_x - enemy[i].pos_x; in game_play() 318 enemy[i].pos_x = 100; in game_play() 336 e_bullet[j].pos_x = enemy[i].pos_x + enemy[i].radius*dx; in game_play() 365 vortex[i].pos_x = -200 - vortex[i].pos_x; in game_play() [all …]
|