/dports/games/julius/julius-1.7.0/src/core/ |
H A D | calc.c | 53 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to) in calc_general_direction() argument 55 if (x_from < x_to) { in calc_general_direction() 63 } else if (x_from == x_to) { in calc_general_direction() 69 } else if (x_from > x_to) { in calc_general_direction() 83 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_shooter_direction() 93 if (x_from == x_to) { in calc_missile_shooter_direction() 99 } else if (x_from > x_to) { in calc_missile_shooter_direction() 142 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to) in calc_missile_direction() argument 144 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_direction() 154 if (x_from == x_to) { in calc_missile_direction() [all …]
|
H A D | calc.h | 50 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 D | calc.c | 39 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to) in calc_general_direction() argument 41 if (x_from < x_to) { in calc_general_direction() 49 } else if (x_from == x_to) { in calc_general_direction() 55 } else if (x_from > x_to) { in calc_general_direction() 69 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_shooter_direction() 79 if (x_from == x_to) { in calc_missile_shooter_direction() 85 } else if (x_from > x_to) { in calc_missile_shooter_direction() 128 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to) in calc_missile_direction() argument 130 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_direction() 140 if (x_from == x_to) { in calc_missile_direction() [all …]
|
H A D | calc.h | 51 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/databases/phpmyadmin/phpMyAdmin-4.9.7-all-languages/libraries/classes/Plugins/Schema/Eps/ |
H A D | Eps.php | 147 * @param integer $x_from The x_from attribute defines the start 160 $x_from = 0, argument 167 $this->stringCommands .= $x_from . ' ' . $y_from . " moveto \n"; 178 * @param integer $x_from The x_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 D | Eps.php | 151 * @param int $x_from The x_from attribute defines the start 164 $x_from = 0, argument 171 $this->stringCommands .= $x_from . ' ' . $y_from . " moveto \n"; 182 * @param int $x_from The x_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/etl/synfig-1.2.2/synfig-core/src/synfig/rendering/primitive/ |
H A D | polyspan.cpp | 758 Real dx,dy,dxdy,mult,x_from,x_to; in draw_line() local 850 x_from = x1 + mult; in draw_line() 856 move_pen((int)floor(x_from),iy1); in draw_line() 861 x_to = x_from + dxdy; in draw_line() 863 x_from = x_to; in draw_line() 867 move_pen((int)floor(x_from),iy1); in draw_line() 880 x_from = x1 + mult; in draw_line() 886 move_pen((int)floor(x_from),iy1); in draw_line() 890 x_to = x_from + dxdy; in draw_line() 892 x_from = x_to; in draw_line() [all …]
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/rendering/primitive/ |
H A D | polyspan.cpp | 758 Real dx,dy,dxdy,mult,x_from,x_to; in draw_line() local 850 x_from = x1 + mult; in draw_line() 856 move_pen((int)floor(x_from),iy1); in draw_line() 861 x_to = x_from + dxdy; in draw_line() 863 x_from = x_to; in draw_line() 867 move_pen((int)floor(x_from),iy1); in draw_line() 880 x_from = x1 + mult; in draw_line() 886 move_pen((int)floor(x_from),iy1); in draw_line() 890 x_to = x_from + dxdy; in draw_line() 892 x_from = x_to; in draw_line() [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/rendering/primitive/ |
H A D | polyspan.cpp | 758 Real dx,dy,dxdy,mult,x_from,x_to; in draw_line() local 850 x_from = x1 + mult; in draw_line() 856 move_pen((int)floor(x_from),iy1); in draw_line() 861 x_to = x_from + dxdy; in draw_line() 863 x_from = x_to; in draw_line() 867 move_pen((int)floor(x_from),iy1); in draw_line() 880 x_from = x1 + mult; in draw_line() 886 move_pen((int)floor(x_from),iy1); in draw_line() 890 x_to = x_from + dxdy; in draw_line() 892 x_from = x_to; in draw_line() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/third_party/agg23/ |
H A D | agg_rasterizer_scanline_aa.cpp | 240 int x_from, x_to; in render_line() local 256 x_from = x1; in render_line() 292 x_from = x1 + delta; in render_line() 293 render_hline(ey1, x1, fy1, x_from, first); in render_line() 295 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 315 x_to = x_from + delta; in render_line() 316 render_hline(ey1, x_from, poly_base_size - first, x_to, first); in render_line() 317 x_from = x_to; in render_line() 319 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 322 render_hline(ey1, x_from, poly_base_size - first, x2, fy2); in render_line()
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/third_party/agg23/ |
H A D | agg_rasterizer_scanline_aa.cpp | 239 int x_from, x_to; in render_line() local 255 x_from = x1; in render_line() 285 x_from = x1 + delta; in render_line() 286 render_hline(ey1, x1, fy1, x_from, first); in render_line() 288 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 305 x_to = x_from + delta; in render_line() 306 render_hline(ey1, x_from, poly_base_size - first, x_to, first); in render_line() 307 x_from = x_to; in render_line() 309 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 312 render_hline(ey1, x_from, poly_base_size - first, x2, fy2); in render_line()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/third_party/agg23/ |
H A D | agg_rasterizer_scanline_aa.cpp | 240 int x_from, x_to; in render_line() local 256 x_from = x1; in render_line() 292 x_from = x1 + delta; in render_line() 293 render_hline(ey1, x1, fy1, x_from, first); in render_line() 295 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 315 x_to = x_from + delta; in render_line() 316 render_hline(ey1, x_from, poly_base_size - first, x_to, first); in render_line() 317 x_from = x_to; in render_line() 319 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 322 render_hline(ey1, x_from, poly_base_size - first, x2, fy2); in render_line()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/third_party/agg23/ |
H A D | agg_rasterizer_scanline_aa.cpp | 242 int x_from, x_to; in render_line() local 258 x_from = x1; in render_line() 294 x_from = x1 + delta; in render_line() 295 render_hline(ey1, x1, fy1, x_from, first); in render_line() 297 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 317 x_to = x_from + delta; in render_line() 318 render_hline(ey1, x_from, poly_base_size - first, x_to, first); in render_line() 319 x_from = x_to; in render_line() 321 set_cur_cell(x_from >> poly_base_shift, ey1); in render_line() 324 render_hline(ey1, x_from, poly_base_size - first, x2, fy2); in render_line()
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/extern/agg24-svn/include/ |
H A D | agg_rasterizer_cells_aa.h | 342 int x_from, x_to; in line() local 381 x_from = x1; in line() 429 x_from = x1 + delta; in line() 430 render_hline(ey1, x1, fy1, x_from, first); in line() 433 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 458 x_to = x_from + delta; in line() 459 render_hline(ey1, x_from, poly_subpixel_scale - first, x_to, first); in line() 460 x_from = x_to; in line() 463 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 466 render_hline(ey1, x_from, poly_subpixel_scale - first, x2, fy2); in line()
|
/dports/math/py-matplotlib/matplotlib-3.4.3/extern/agg24-svn/include/ |
H A D | agg_rasterizer_cells_aa.h | 343 int x_from, x_to; in line() local 382 x_from = x1; in line() 430 x_from = x1 + delta; in line() 431 render_hline(ey1, x1, fy1, x_from, first); in line() 434 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 459 x_to = x_from + delta; in line() 460 render_hline(ey1, x_from, poly_subpixel_scale - first, x_to, first); in line() 461 x_from = x_to; in line() 464 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 467 render_hline(ey1, x_from, poly_subpixel_scale - first, x2, fy2); in line()
|
/dports/devel/upp/upp/uppsrc/Painter/ |
H A D | Rasterizer.cpp | 257 int x_from, x_to; in LineRaw() local 273 x_from = x1; in LineRaw() 310 x_from = x1 + delta; in LineRaw() 311 RenderHLine(ey1, x1, fy1, x_from, first); in LineRaw() 329 x_to = x_from + delta; in LineRaw() 330 RenderHLine(ey1, x_from, 256 - first, x_to, first); in LineRaw() 331 x_from = x_to; in LineRaw() 335 RenderHLine(ey1, x_from, 256 - first, x2, fy2); in LineRaw()
|
/dports/graphics/cfdg/cfdg-3.3_1/src-agg/agg2/ |
H A D | agg_rasterizer_cells_aa.h | 340 int x_from, x_to; in line() local 380 x_from = x1; in line() 428 x_from = x1 + delta; in line() 429 render_hline(ey1, x1, fy1, x_from, first); in line() 432 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 457 x_to = x_from + delta; in line() 458 render_hline(ey1, x_from, poly_subpixel_scale - first, x_to, first); in line() 459 x_from = x_to; in line() 462 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 465 render_hline(ey1, x_from, poly_subpixel_scale - first, x2, fy2); in line()
|
/dports/graphics/agg/agg-2.5/include/ |
H A D | agg_rasterizer_cells_aa.h | 348 int x_from, x_to; in line() local 387 x_from = x1; in line() 435 x_from = x1 + delta; in line() 436 render_hline(ey1, x1, fy1, x_from, first); in line() 439 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 464 x_to = x_from + delta; in line() 465 render_hline(ey1, x_from, poly_subpixel_scale - first, x_to, first); in line() 466 x_from = x_to; in line() 469 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 472 render_hline(ey1, x_from, poly_subpixel_scale - first, x2, fy2); in line()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/agg/ |
H A D | agg_rasterizer_cells_aa.h | 340 int x_from, x_to; in line() local 380 x_from = x1; in line() 428 x_from = x1 + delta; in line() 429 render_hline(ey1, x1, fy1, x_from, first); in line() 432 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 457 x_to = x_from + delta; in line() 458 render_hline(ey1, x_from, poly_subpixel_scale - first, x_to, first); in line() 459 x_from = x_to; in line() 462 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 465 render_hline(ey1, x_from, poly_subpixel_scale - first, x2, fy2); in line()
|
/dports/graphics/mapserver/mapserver-7.6.4/renderers/agg/include/ |
H A D | agg_rasterizer_cells_aa.h | 342 int x_from, x_to; in line() local 381 x_from = x1; in line() 429 x_from = x1 + delta; in line() 430 render_hline(ey1, x1, fy1, x_from, first); in line() 433 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 458 x_to = x_from + delta; in line() 459 render_hline(ey1, x_from, poly_subpixel_scale - first, x_to, first); in line() 460 x_from = x_to; in line() 463 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 466 render_hline(ey1, x_from, poly_subpixel_scale - first, x2, fy2); in line()
|
/dports/sysutils/fluxengine/fluxengine-61ff48c/dep/agg/include/ |
H A D | agg_rasterizer_cells_aa.h | 341 int x_from, x_to; in line() local 381 x_from = x1; in line() 429 x_from = x1 + delta; in line() 430 render_hline(ey1, x1, fy1, x_from, first); in line() 433 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 458 x_to = x_from + delta; in line() 459 render_hline(ey1, x_from, poly_subpixel_scale - first, x_to, first); in line() 460 x_from = x_to; in line() 463 set_curr_cell(x_from >> poly_subpixel_shift, ey1); in line() 466 render_hline(ey1, x_from, poly_subpixel_scale - first, x2, fy2); in line()
|
/dports/devel/py-game/pygame-2.1.0/src_py/ |
H A D | draw_py.py | 80 def _drawhorzline(surf, color, x_from, in_y, x_to): argument 81 if x_from == x_to: 82 surf.set_at((x_from, in_y), color) 85 start, end = (x_from, x_to) if x_from <= x_to else (x_to, x_from) 102 def _clip_and_draw_horizline(surf, color, x_from, in_y, x_to): argument 109 x_from = max(x_from, clip.x) 113 if x_to < clip.x or x_from >= clip.x + clip.w: 116 _drawhorzline(surf, color, x_from, in_y, x_to)
|
/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/ |
H A D | PolygonRasterizer.cpp | 129 static void fillBinarySegment(int x_from, int x_to, uint32_t* line, uint32_t pattern); 398 const double x_from = edges[i].x(); in oddEvenLineBinary() local 400 fillBinarySegment(qRound(x_from), qRound(x_to), line, pattern); in oddEvenLineBinary() 424 const double x_from = edges[i].x(); in windingLineBinary() local 426 fillBinarySegment(qRound(x_from), qRound(x_to), line, pattern); in windingLineBinary() 447 void PolygonRasterizer::Rasterizer::fillBinarySegment(const int x_from, in fillBinarySegment() argument 451 if (x_from == x_to) { in fillBinarySegment() 456 const uint32_t first_word_mask = full_mask >> (x_from & 31); in fillBinarySegment() 458 const int first_word_idx = x_from >> 5; in fillBinarySegment()
|
/dports/graphics/sdump/sdump-c5fb55b/ |
H A D | image.h | 58 static inline void get_average(struct image *img, uint8_t *data, int x_from, int y_from, int x_to, … in get_average() argument 66 for (int x = x_from; x < x_to; x++) { 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 190 x_from = MULTIPLER * x / 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/editors/lazarus/lazarus/components/aggpas/src/ |
H A D | agg_rasterizer_cells_aa.pas | 287 x_from ,x_to ,p ,rem ,mod_ ,lift ,delta ,first ,incr : int; 364 x_from:=x1; 423 x_from:=x1 + delta; 425 render_hline(ey1 ,x1 ,fy1 ,x_from ,first ); 429 set_curr_cell(shr_int32(x_from ,poly_subpixel_shift ) ,ey1 ); 459 x_to:=x_from + delta; 461 render_hline(ey1 ,x_from ,poly_subpixel_scale - first ,x_to ,first ); 463 x_from:=x_to; 467 set_curr_cell(shr_int32(x_from ,poly_subpixel_shift ) ,ey1 ); 473 render_hline(ey1 ,x_from ,poly_subpixel_scale - first ,x2 ,fy2 );
|