/dports/www/py-lektor/Lektor-3.2.2/lektor/ |
H A D | videotools.py | 80 if upscale is None: 81 upscale = False 116 if upscale is None: 117 upscale = True 149 if upscale is None: 150 upscale = True 164 return self.cover(width, height, upscale) 166 return self.stretch(width, height, upscale) 287 upscale=None, argument 295 if upscale is None: [all …]
|
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/elgg-config/ |
H A D | simpletest.php | 54 'upscale' => true 60 'upscale' => true 66 'upscale' => true 72 'upscale' => true 78 'upscale' => true 84 'upscale' => false
|
/dports/games/sjeng/Sjeng-Free-11.2/ |
H A D | segtb.c | 46 int upscale[64] = { variable 303 board[upscale[w]] = w_man; in gen_2piece() 304 board[upscale[b]] = b_man; in gen_2piece() 305 pieces[1] = upscale[w]; in gen_2piece() 306 pieces[2] = upscale[b]; in gen_2piece() 307 squares[upscale[w]] = 1; in gen_2piece() 308 squares[upscale[b]] = 2; in gen_2piece() 348 board[upscale[w]] = npiece; in gen_2piece() 349 board[upscale[b]] = npiece; in gen_2piece() 350 squares[upscale[w]] = 0; in gen_2piece() [all …]
|
/dports/graphics/cfdg/cfdg-3.3_1/src-agg/agg2/ |
H A D | agg_rasterizer_scanline_aa_nogamma.h | 317 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 318 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 367 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 368 m_start_y = conv_type::upscale(y)); in move_to_d() 377 conv_type::upscale(x), in line_to_d() 378 conv_type::upscale(y)); in line_to_d() 420 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 422 conv_type::upscale(x2), in edge_d() 423 conv_type::upscale(y2)); in edge_d()
|
H A D | agg_rasterizer_scanline_aa.h | 315 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 316 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 365 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 366 m_start_y = conv_type::upscale(y)); in move_to_d() 375 conv_type::upscale(x), in line_to_d() 376 conv_type::upscale(y)); in line_to_d() 418 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 420 conv_type::upscale(x2), in edge_d() 421 conv_type::upscale(y2)); in edge_d()
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/extern/agg24-svn/include/ |
H A D | agg_rasterizer_scanline_aa_nogamma.h | 316 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 317 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 366 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 367 m_start_y = conv_type::upscale(y)); in move_to_d() 376 conv_type::upscale(x), in line_to_d() 377 conv_type::upscale(y)); in line_to_d() 419 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 421 conv_type::upscale(x2), in edge_d() 422 conv_type::upscale(y2)); in edge_d()
|
H A D | agg_rasterizer_scanline_aa.h | 315 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 316 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 365 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 366 m_start_y = conv_type::upscale(y)); in move_to_d() 375 conv_type::upscale(x), in line_to_d() 376 conv_type::upscale(y)); in line_to_d() 418 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 420 conv_type::upscale(x2), in edge_d() 421 conv_type::upscale(y2)); in edge_d()
|
H A D | agg_rasterizer_compound_aa.h | 332 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 333 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 382 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 383 m_start_y = conv_type::upscale(y)); in move_to_d() 391 conv_type::upscale(x), in line_to_d() 392 conv_type::upscale(y)); in line_to_d() 432 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 434 conv_type::upscale(x2), in edge_d() 435 conv_type::upscale(y2)); in edge_d()
|
/dports/math/py-matplotlib/matplotlib-3.4.3/extern/agg24-svn/include/ |
H A D | agg_rasterizer_scanline_aa_nogamma.h | 316 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 317 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 366 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 367 m_start_y = conv_type::upscale(y)); in move_to_d() 376 conv_type::upscale(x), in line_to_d() 377 conv_type::upscale(y)); in line_to_d() 419 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 421 conv_type::upscale(x2), in edge_d() 422 conv_type::upscale(y2)); in edge_d()
|
H A D | agg_rasterizer_scanline_aa.h | 315 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 316 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 365 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 366 m_start_y = conv_type::upscale(y)); in move_to_d() 375 conv_type::upscale(x), in line_to_d() 376 conv_type::upscale(y)); in line_to_d() 418 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 420 conv_type::upscale(x2), in edge_d() 421 conv_type::upscale(y2)); in edge_d()
|
H A D | agg_rasterizer_compound_aa.h | 332 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 333 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 382 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 383 m_start_y = conv_type::upscale(y)); in move_to_d() 391 conv_type::upscale(x), in line_to_d() 392 conv_type::upscale(y)); in line_to_d() 432 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 434 conv_type::upscale(x2), in edge_d() 435 conv_type::upscale(y2)); in edge_d()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/agg/ |
H A D | agg_rasterizer_scanline_aa_nogamma.h | 317 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 318 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 367 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 368 m_start_y = conv_type::upscale(y)); in move_to_d() 377 conv_type::upscale(x), in line_to_d() 378 conv_type::upscale(y)); in line_to_d() 420 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 422 conv_type::upscale(x2), in edge_d() 423 conv_type::upscale(y2)); in edge_d()
|
H A D | agg_rasterizer_scanline_aa.h | 315 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 316 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 365 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 366 m_start_y = conv_type::upscale(y)); in move_to_d() 375 conv_type::upscale(x), in line_to_d() 376 conv_type::upscale(y)); in line_to_d() 418 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 420 conv_type::upscale(x2), in edge_d() 421 conv_type::upscale(y2)); in edge_d()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qt5/ |
H A D | Qt5Graphics_Controls.cxx | 801 QSize aMinSize = upscale( in getNativeControlRegion() 811 contentRect = upscale( in getNativeControlRegion() 819 contentRect = upscale( in getNativeControlRegion() 865 contentRect = upscale( in getNativeControlRegion() 967 contentRect = upscale( in getNativeControlRegion() 997 contentRect = upscale( in getNativeControlRegion() 1027 QSize aMinSize = upscale( in getNativeControlRegion() 1116 return QRect(upscale(rect.x(), Round::Floor), upscale(rect.y(), Round::Floor), in upscale() 1117 upscale(rect.width(), Round::Ceil), upscale(rect.height(), Round::Ceil)); in upscale() 1127 return QSize(upscale(size.width(), eRound), upscale(size.height(), eRound)); in upscale() [all …]
|
/dports/astro/foxtrotgps/foxtrotgps-1.2.2/src/ |
H A D | map_management.c | 78 int upscale = 1; in load_tile() local 96 upscale = detail_scale; in load_tile() 115 g_snprintf(filename, 255, "%s/%u/%u/%u.png", dir, zoom-overzoom, x/upscale, y/upscale); in load_tile() 122 upscale *= 2; in load_tile() 125 if(pixbuf && upscale > 1) in load_tile() 133 -TILESIZE*(x%upscale), -TILESIZE*(y%upscale), in load_tile() 134 upscale, upscale, in load_tile()
|
/dports/graphics/agg/agg-2.5/include/ |
H A D | agg_rasterizer_scanline_aa.h | 354 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 355 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 404 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 405 m_start_y = conv_type::upscale(y)); in move_to_d() 414 conv_type::upscale(x), in line_to_d() 415 conv_type::upscale(y)); in line_to_d() 457 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 459 conv_type::upscale(x2), in edge_d() 460 conv_type::upscale(y2)); in edge_d()
|
/dports/graphics/mapserver/mapserver-7.6.4/renderers/agg/include/ |
H A D | agg_rasterizer_scanline_aa.h | 344 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 345 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 394 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 395 m_start_y = conv_type::upscale(y)); in move_to_d() 404 conv_type::upscale(x), in line_to_d() 405 conv_type::upscale(y)); in line_to_d() 447 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 449 conv_type::upscale(x2), in edge_d() 450 conv_type::upscale(y2)); in edge_d()
|
/dports/sysutils/fluxengine/fluxengine-61ff48c/dep/agg/include/ |
H A D | agg_rasterizer_scanline_aa.h | 315 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in clip_box() 316 conv_type::upscale(x2), conv_type::upscale(y2)); in clip_box() 365 m_clipper.move_to(m_start_x = conv_type::upscale(x), in move_to_d() 366 m_start_y = conv_type::upscale(y)); in move_to_d() 375 conv_type::upscale(x), in line_to_d() 376 conv_type::upscale(y)); in line_to_d() 418 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); in edge_d() 420 conv_type::upscale(x2), in edge_d() 421 conv_type::upscale(y2)); in edge_d()
|
H A D | agg_rasterizer_scanline_aa_nogamma.h | 317 m_clipper.clip_box(conv_type::upscale(x1), conv_type::upscale(y1), in ErrorNo() 318 conv_type::upscale(x2), conv_type::upscale(y2)); in ErrorNo() 367 m_clipper.move_to(m_start_x = conv_type::upscale(x), 368 m_start_y = conv_type::upscale(y)); 377 conv_type::upscale(x), in Fields() 378 conv_type::upscale(y)); in Fields() 420 m_clipper.move_to(conv_type::upscale(x1), conv_type::upscale(y1)); 422 conv_type::upscale(x2), 423 conv_type::upscale(y2));
|
/dports/www/py-lektor/Lektor-3.2.2/tests/ |
H A D | test_videotools.py | 77 def test_dimensions_fit_within(source, target, upscale, rescale): argument 84 new_dims = source.fit_within(target_width, target_height, upscale) 98 def test_dimensions_cover(source, target, upscale, rescale, crop): argument 104 new_dims = source.cover(target_width, target_height, upscale) 118 def test_dimensions_stretch(source, target, upscale, rescale): argument 125 new_dims = source.stretch(target_width, target_height, upscale)
|
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/classes/Elgg/ |
H A D | BaseTestCase.php | 106 'upscale' => true 112 'upscale' => true 118 'upscale' => true 124 'upscale' => true 130 'upscale' => true 136 'upscale' => false,
|
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/lib/ |
H A D | deprecated-2.3.php | 104 * @param bool $upscale Resize images smaller than $maxwidth x $maxheight? 110 $square = false, $upscale = false) { argument 119 …age_from_existing_file($file->getPathname(), $maxwidth, $maxheight, $square, 0, 0, 0, 0, $upscale); 138 * @param bool $upscale Resize images smaller than $maxwidth x $maxheight? 144 $square = false, $x1 = 0, $y1 = 0, $x2 = 0, $y2 = 0, $upscale = false) { argument 164 'upscale' => $upscale,
|
/dports/www/drupal8/drupal-8.9.20/core/lib/Drupal/Component/Utility/ |
H A D | Image.php | 26 * @param bool $upscale 34 …tic function scaleDimensions(array &$dimensions, $width = NULL, $height = NULL, $upscale = FALSE) { argument 50 if (!$upscale && ($width >= $dimensions['width'] || $height >= $dimensions['height'])) {
|
/dports/www/drupal9/drupal-9.2.10/core/lib/Drupal/Component/Utility/ |
H A D | Image.php | 26 * @param bool $upscale 34 …tic function scaleDimensions(array &$dimensions, $width = NULL, $height = NULL, $upscale = FALSE) { argument 50 if (!$upscale && ($width >= $dimensions['width'] || $height >= $dimensions['height'])) {
|
/dports/editors/lazarus/lazarus/components/aggpas/src/ |
H A D | agg_rasterizer_compound_aa.pas | 271 t_conv.upscale(x1 ) ,t_conv.upscale(y1 ) , 272 t_conv.upscale(x2 ) ,t_conv.upscale(y2 ) ); 350 m_clipper.line_to(@m_outline ,t_conv.upscale(x ) ,t_conv.upscale(y ) ); 371 m_clipper.move_to(t_conv.upscale(x1 ) ,t_conv.upscale(y1 ) ); 372 m_clipper.line_to(@m_outline ,t_conv.upscale(x2 ) ,t_conv.upscale(y2 ) ); 975 m_start_x:=int_ptr(t_conv.upscale(x ) )^; 976 m_start_y:=int_ptr(t_conv.upscale(y ) )^; 1040 m_start_x:=double_ptr(t_conv.upscale(x ) )^; 1041 m_start_y:=double_ptr(t_conv.upscale(y ) )^;
|