Home
last modified time | relevance | path

Searched refs:y_from (Results 1 – 25 of 68) sorted by relevance

123

/dports/games/julius/julius-1.7.0/src/core/
H A Dcalc.c56 if (y_from > y_to) { in calc_general_direction()
64 if (y_from > y_to) { in calc_general_direction()
70 if (y_from > y_to) { in calc_general_direction()
84 int dy = y_from > y_to ? y_from - y_to : y_to - y_from; in calc_missile_shooter_direction()
94 if (y_from < y_to) { in calc_missile_shooter_direction()
100 if (y_from == y_to) { in calc_missile_shooter_direction()
120 if (y_from == y_to) { in calc_missile_shooter_direction()
145 int dy = y_from > y_to ? y_from - y_to : y_to - y_from; in calc_missile_direction()
155 if (y_from < y_to) { in calc_missile_direction()
161 if (y_from == y_to) { in calc_missile_direction()
[all …]
H A Dcalc.h50 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to);
60 direction_type calc_missile_shooter_direction(int x_from, int y_from, int x_to, int y_to);
70 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to);
/dports/games/augustus/augustus-3.1.0/src/core/
H A Dcalc.c42 if (y_from > y_to) { in calc_general_direction()
50 if (y_from > y_to) { in calc_general_direction()
56 if (y_from > y_to) { in calc_general_direction()
70 int dy = y_from > y_to ? y_from - y_to : y_to - y_from; in calc_missile_shooter_direction()
80 if (y_from < y_to) { in calc_missile_shooter_direction()
86 if (y_from == y_to) { in calc_missile_shooter_direction()
106 if (y_from == y_to) { in calc_missile_shooter_direction()
131 int dy = y_from > y_to ? y_from - y_to : y_to - y_from; in calc_missile_direction()
141 if (y_from < y_to) { in calc_missile_direction()
147 if (y_from == y_to) { in calc_missile_direction()
[all …]
H A Dcalc.h51 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to);
61 direction_type calc_missile_shooter_direction(int x_from, int y_from, int x_to, int y_to);
71 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/app_list/
H A Dmd_icon_normalizer.cc46 int y_from, in ConvertToConvexArray() argument
48 std::vector<float> angles(y_to - y_from); in ConvertToConvexArray()
54 for (int i = y_from + 1; i <= y_to; i++) { in ConvertToConvexArray()
61 start = y_from; in ConvertToConvexArray()
68 while (start > y_from) { in ConvertToConvexArray()
81 angles[j - y_from] = last_angle; in ConvertToConvexArray()
111 int y_from = -1; in GetMdIconScale() local
150 if (y_from == -1) in GetMdIconScale()
151 y_from = y; in GetMdIconScale()
154 if (y_from == -1) { in GetMdIconScale()
[all …]
H A Dicon_standardizer.cc34 int y_from = -1; in GetVisibleIconBounds() local
71 if (y_from == -1) in GetVisibleIconBounds()
72 y_from = y; in GetVisibleIconBounds()
76 int visible_height = y_to - y_from + 1; in GetVisibleIconBounds()
77 return gfx::Rect(x_left, y_from, visible_width, visible_height); in GetVisibleIconBounds()
/dports/databases/phpmyadmin/phpMyAdmin-4.9.7-all-languages/libraries/classes/Plugins/Schema/Eps/
H A DEps.php149 * @param integer $y_from The y_from attribute defines the start
161 $y_from = 0, argument
167 $this->stringCommands .= $x_from . ' ' . $y_from . " moveto \n";
180 * @param integer $y_from The y_from attribute defines the start
190 public function rect($x_from, $y_from, $x_to, $y_to, $lineWidth) argument
194 $this->stringCommands .= $x_from . " " . $y_from . " moveto \n";
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/libraries/classes/Plugins/Schema/Eps/
H A DEps.php153 * @param int $y_from The y_from attribute defines the start
165 $y_from = 0, argument
171 $this->stringCommands .= $x_from . ' ' . $y_from . " moveto \n";
184 * @param int $y_from The y_from attribute defines the start
194 public function rect($x_from, $y_from, $x_to, $y_to, $lineWidth) argument
198 $this->stringCommands .= $x_from . ' ' . $y_from . " moveto \n";
/dports/devel/py-game/pygame-2.1.0/src_py/
H A Ddraw_py.py90 def _drawvertline(surf, color, in_x, y_from, y_to): argument
91 if y_from == y_to:
92 surf.set_at((in_x, y_from), color)
95 start, end = (y_from, y_to) if y_from <= y_to else (y_to, y_from)
119 def _clip_and_draw_vertline(surf, color, in_x, y_from, y_to): argument
127 y_from = max(y_from, clip.y)
131 if y_to < clip.y or y_from >= clip.y + clip.h:
134 _drawvertline(surf, color, in_x, y_from, y_to)
/dports/graphics/sdump/sdump-c5fb55b/
H A Dimage.h58 static inline void get_average(struct image *img, uint8_t *data, int x_from, int y_from, int x_to, … in get_average() argument
65 for (int y = y_from; y < y_to; y++) { in get_average()
72 cell_num = (y_to - y_from) * (x_to - x_from); in get_average()
161 int dst_width, dst_height, y_from, x_from, y_to, x_to; in resize_image_single() local
187 y_from = MULTIPLER * y / resize_rate; in resize_image_single()
192 get_average(img, data, x_from, y_from, x_to, y_to, pixel); in resize_image_single()
/dports/lang/mit-scheme/mit-scheme-9.2/src/microcode/
H A Dx11term.c212 unsigned int y_from, in xterm_copy_map_line() argument
217 (XTERM_CHAR_LOC (xw, (XTERM_CHAR_INDEX (xw, x_start, y_from)))); in xterm_copy_map_line()
219 (XTERM_CHAR_LOC (xw, (XTERM_CHAR_INDEX (xw, x_end, y_from)))); in xterm_copy_map_line()
227 (XTERM_HL_LOC (xw, (XTERM_CHAR_INDEX (xw, x_start, y_from)))); in xterm_copy_map_line()
229 (XTERM_HL_LOC (xw, (XTERM_CHAR_INDEX (xw, x_end, y_from)))); in xterm_copy_map_line()
791 unsigned int y_from = (y_to + lines); in xterm_scroll_lines_up() local
792 while (y_from < y_end) in xterm_scroll_lines_up()
793 xterm_copy_map_line (xw, x_start, x_end, (y_from++), (y_to++)); in xterm_scroll_lines_up()
854 unsigned int y_from = (y_to - lines); in xterm_scroll_lines_down() local
855 while (y_from > y_start) in xterm_scroll_lines_down()
[all …]
/dports/devel/godot/godot-3.2.3-stable/editor/
H A Danimation_track_editor_plugins.cpp125 int y_from = (get_size().height - fh) / 2; in draw_key_link() local
130 points.push_back(Vector2(x_from, y_from)); in draw_key_link()
133 points.push_back(Vector2(x_to, y_from)); in draw_key_link()
136 points.push_back(Vector2(x_to, y_from + fh)); in draw_key_link()
139 points.push_back(Vector2(x_from, y_from + fh)); in draw_key_link()
722 int y_from = (get_size().height - tex_h) / 2; in draw_bg() local
726 …draw_texture_rect(volume_texture, Rect2(p_clip_left, y_from, p_clip_right - p_clip_left, y_from + … in draw_bg()
733 int y_from = (get_size().height - tex_h) / 2; in draw_fg() local
734 int db0 = y_from + (24 / 80.0) * tex_h; in draw_fg()
769 int y_from = (get_size().height - tex_h) / 2; in draw_key_link() local
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/editor/
H A Danimation_track_editor_plugins.cpp125 int y_from = (get_size().height - fh) / 2; in draw_key_link() local
130 points.push_back(Vector2(x_from, y_from)); in draw_key_link()
133 points.push_back(Vector2(x_to, y_from)); in draw_key_link()
136 points.push_back(Vector2(x_to, y_from + fh)); in draw_key_link()
139 points.push_back(Vector2(x_from, y_from + fh)); in draw_key_link()
722 int y_from = (get_size().height - tex_h) / 2; in draw_bg() local
726 …draw_texture_rect(volume_texture, Rect2(p_clip_left, y_from, p_clip_right - p_clip_left, y_from + … in draw_bg()
733 int y_from = (get_size().height - tex_h) / 2; in draw_fg() local
734 int db0 = y_from + (24 / 80.0) * tex_h; in draw_fg()
769 int y_from = (get_size().height - tex_h) / 2; in draw_key_link() local
[all …]
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/states_screens/
H A Dgrand_prix_win.cpp170 const int y_from = frame_size.Height - label_height*2 - GUIEngine::getFontHeight(); in init() local
178 core::rect< s32 > iconarea(label_x_from - label_height, y_from, in init()
186 core::rect< s32 > icon2area(label_x_to, y_from, in init()
198 m_unlocked_label->m_y = y_from; in init()
/dports/japanese/timidity++-slang/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/ocp/ocp-0.2.90/playgmi/timidity-git/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/timidity++-xskin/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/timidity++-gtk/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/timidity++-xaw/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/timidity++/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/timidity++-slang/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/timidity++-emacs/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/audio/timidity++-motif/TiMidity++-2.15.0/interface/
H A Dw32g_subwin2.c169 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag );
479 static void wrd_text_update ( int x_from, int y_from, int x_to, int y_to, int lockflag ) in wrd_text_update() argument
489 if ( y_from < 0 ) y_from = 0; in wrd_text_update()
490 if ( y_from >= w32g_wrd_wnd.row ) y_from = w32g_wrd_wnd.col - 1; in wrd_text_update()
494 SetRect ( &rc, x_from * w32g_wrd_wnd.font_width, y_from * w32g_wrd_wnd.font_height, in wrd_text_update()
518 for( y = y_from; y <= y_to; y++ ) { in wrd_text_update()
1555 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
1556 if ( y_from < 0 || y_from >= w32g_wrd_wnd.col ) { in WrdWndCopyLineS()
1562 memcpy ( w32g_wrd_wnd.textbuf[y], w32g_wrd_wnd.textbuf[y_from], w32g_wrd_wnd.row ); in WrdWndCopyLineS()
1570 int y_from = from_from + y - to_from; in WrdWndCopyLineS() local
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/media/sound/
H A DModelStandardIndexedDirector.java134 int y_from = trantables[1][velFrom]; in buildindex() local
140 for (int y = y_from; y < y_to; y++) { in buildindex()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/com/sun/media/sound/
H A DModelStandardIndexedDirector.java134 int y_from = trantables[1][velFrom]; in buildindex() local
140 for (int y = y_from; y < y_to; y++) { in buildindex()

123