/dports/games/maelstrom/Maelstrom-3.0.6/ |
H A D | init.cpp | 269 gShotOrigins[0].h = 15 * SCALE_FACTOR; in InitShots() 270 gShotOrigins[0].v = 12 * SCALE_FACTOR; in InitShots() 272 gShotOrigins[1].h = 16 * SCALE_FACTOR; in InitShots() 273 gShotOrigins[1].v = 12 * SCALE_FACTOR; in InitShots() 275 gShotOrigins[2].h = 18 * SCALE_FACTOR; in InitShots() 276 gShotOrigins[2].v = 12 * SCALE_FACTOR; in InitShots() 278 gShotOrigins[3].h = 21 * SCALE_FACTOR; in InitShots() 279 gShotOrigins[3].v = 12 * SCALE_FACTOR; in InitShots() 281 gShotOrigins[4].h = xx * SCALE_FACTOR; in InitShots() 282 gShotOrigins[4].v = xx * SCALE_FACTOR; in InitShots() [all …]
|
/dports/games/maelstrom/Maelstrom-3.0.6/netlogic/ |
H A D | make.cpp | 20 y *= SCALE_FACTOR; in MakeEnemy() 49 x *= SCALE_FACTOR; in MakePrize() 50 y *= SCALE_FACTOR; in MakePrize() 87 x *= SCALE_FACTOR; in MakeMultiplier() 88 y *= SCALE_FACTOR; in MakeMultiplier() 112 x *= SCALE_FACTOR; in MakeNova() 113 y *= SCALE_FACTOR; in MakeNova() 158 x *= SCALE_FACTOR; in MakeBonus() 159 y *= SCALE_FACTOR; in MakeBonus() 193 x *= SCALE_FACTOR; in MakeDamagedShip() [all …]
|
H A D | objects.h | 214 rx = (SCALE_FACTOR); in Explode() 222 yVel += SCALE_FACTOR; in Explode() 224 yVel -= SCALE_FACTOR; in Explode() 230 rx = (SCALE_FACTOR); in Explode() 239 yVel += SCALE_FACTOR; in Explode() 241 yVel -= SCALE_FACTOR; in Explode() 411 xVel += (2 * SCALE_FACTOR); in Explode() 413 xVel -= (2 * SCALE_FACTOR); in Explode() 418 yVel += (2 * SCALE_FACTOR); in Explode() 420 yVel -= (2 * SCALE_FACTOR); in Explode() [all …]
|
H A D | player.cpp | 85 *SCALE_FACTOR), in NewWave() 86 ((SCREEN_HEIGHT/2)*SCALE_FACTOR) in NewWave() 211 *SCALE_FACTOR), in BeenTimedOut() 212 ((SCREEN_HEIGHT/2)*SCALE_FACTOR) in BeenTimedOut() 232 rx = (SCALE_FACTOR); in Explode() 236 xVel = FastRandom(rx / 2) + SCALE_FACTOR; in Explode() 240 yVel += SCALE_FACTOR; in Explode() 242 yVel -= SCALE_FACTOR; in Explode() 248 rx = (SCALE_FACTOR); in Explode() 257 yVel += SCALE_FACTOR; in Explode() [all …]
|
H A D | about.cpp | 112 x = (80) * SCALE_FACTOR; in DoAbout() 113 y = (136) * SCALE_FACTOR; in DoAbout() 114 off = 39 * SCALE_FACTOR; in DoAbout() 133 x = (340) * SCALE_FACTOR; in DoAbout() 134 y = (136) * SCALE_FACTOR; in DoAbout() 135 off = 39 * SCALE_FACTOR; in DoAbout()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/exporters/ |
H A D | export_gencad.cpp | 223 return (aX - GencadOffsetX) / SCALE_FACTOR; in MapXTo() 229 return (GencadOffsetY - aY) / SCALE_FACTOR; in MapYTo() 454 off.x / SCALE_FACTOR, in CreatePadsShapesSection() 455 -off.y / SCALE_FACTOR, in CreatePadsShapesSection() 467 dx / (SCALE_FACTOR / 2), dy / (SCALE_FACTOR / 2) ); in CreatePadsShapesSection() 489 ( -off.y - lineY ) / SCALE_FACTOR, ( off.x - lineX ) / SCALE_FACTOR, in CreatePadsShapesSection() 491 ( off.x - lineX ) / SCALE_FACTOR, ( -off.y - lineY ) / SCALE_FACTOR ); in CreatePadsShapesSection() 508 ( -off.y - lineY ) / SCALE_FACTOR, ( off.x + lineX ) / SCALE_FACTOR, in CreatePadsShapesSection() 524 ( -off.y + lineY ) / SCALE_FACTOR, ( off.x + lineX ) / SCALE_FACTOR, in CreatePadsShapesSection() 526 ( off.x + lineX ) / SCALE_FACTOR, ( -off.y + lineY ) / SCALE_FACTOR ); in CreatePadsShapesSection() [all …]
|
/dports/www/mediawiki135/mediawiki-1.35.5/includes/gallery/ |
H A D | PackedImageGallery.php | 35 private const SCALE_FACTOR = 1.5; define in PackedImageGallery 38 return ( $this->getThumbPadding() + $boxHeight - $thumbHeight / self::SCALE_FACTOR ) / 2; 64 'width' => $width * self::SCALE_FACTOR, 65 'height' => $this->mHeights * self::SCALE_FACTOR, 71 if ( $thumbWidth < 60 * self::SCALE_FACTOR ) { 72 $thumbWidth = 60 * self::SCALE_FACTOR; 75 return $thumbWidth / self::SCALE_FACTOR + $this->getThumbPadding(); 84 $thumbWidth = $thumb ? $thumb->getWidth() : $this->mWidths * self::SCALE_FACTOR; 91 $imageParameters['override-width'] = ceil( $thumb->getWidth() / self::SCALE_FACTOR ); 92 $imageParameters['override-height'] = ceil( $thumb->getHeight() / self::SCALE_FACTOR );
|
/dports/www/mediawiki137/mediawiki-1.37.1/includes/gallery/ |
H A D | PackedImageGallery.php | 35 private const SCALE_FACTOR = 1.5; define in PackedImageGallery 38 return ( $this->getThumbPadding() + $boxHeight - $thumbHeight / self::SCALE_FACTOR ) / 2; 64 'width' => $width * self::SCALE_FACTOR, 65 'height' => $this->mHeights * self::SCALE_FACTOR, 71 if ( $thumbWidth < 60 * self::SCALE_FACTOR ) { 72 $thumbWidth = 60 * self::SCALE_FACTOR; 75 return $thumbWidth / self::SCALE_FACTOR + $this->getThumbPadding(); 84 $thumbWidth = $thumb ? $thumb->getWidth() : $this->mWidths * self::SCALE_FACTOR; 91 $imageParameters['override-width'] = ceil( $thumb->getWidth() / self::SCALE_FACTOR ); 92 $imageParameters['override-height'] = ceil( $thumb->getHeight() / self::SCALE_FACTOR );
|
/dports/www/mediawiki136/mediawiki-1.36.3/includes/gallery/ |
H A D | PackedImageGallery.php | 35 private const SCALE_FACTOR = 1.5; define in PackedImageGallery 38 return ( $this->getThumbPadding() + $boxHeight - $thumbHeight / self::SCALE_FACTOR ) / 2; 64 'width' => $width * self::SCALE_FACTOR, 65 'height' => $this->mHeights * self::SCALE_FACTOR, 71 if ( $thumbWidth < 60 * self::SCALE_FACTOR ) { 72 $thumbWidth = 60 * self::SCALE_FACTOR; 75 return $thumbWidth / self::SCALE_FACTOR + $this->getThumbPadding(); 84 $thumbWidth = $thumb ? $thumb->getWidth() : $this->mWidths * self::SCALE_FACTOR; 91 $imageParameters['override-width'] = ceil( $thumb->getWidth() / self::SCALE_FACTOR ); 92 $imageParameters['override-height'] = ceil( $thumb->getHeight() / self::SCALE_FACTOR );
|
/dports/graphics/gdk-pixbuf2/gdk-pixbuf-2.40.0/tests/ |
H A D | pixbuf-scale-two-step.c | 43 #define SCALE_FACTOR (1.0/40.0) macro 124 (int) (width * SCALE_FACTOR + 0.5), in test_old_and_new() 125 (int) (height * SCALE_FACTOR + 0.5), in test_old_and_new() 129 (int) (width * SCALE_FACTOR + 0.5), in test_old_and_new() 130 (int) (height * SCALE_FACTOR + 0.5), in test_old_and_new() 246 gint dheight = (sheight * SCALE_FACTOR + 0.5); in test_offset() 282 gint dheight = sheight * SCALE_FACTOR; in test_dest() 294 SCALE_FACTOR, SCALE_FACTOR, in test_dest() 300 SCALE_FACTOR, SCALE_FACTOR, in test_dest() 306 SCALE_FACTOR, SCALE_FACTOR, in test_dest() [all …]
|
/dports/devel/cpprestsdk/cpprestsdk-2.10.16/Release/samples/BlackJack/BlackJack_UIClient/ |
H A D | CardShape.xaml.cpp | 58 tfrm->X = -x * CardWidthRect * SCALE_FACTOR; in adjust() 59 tfrm->Y = -y * CardHeightRect * SCALE_FACTOR; in adjust() 65 scale->ScaleX = SCALE_FACTOR; in adjust() 66 scale->ScaleY = SCALE_FACTOR; in adjust() 67 scale->CenterX = -CardWidthRect / SCALE_FACTOR; in adjust() 68 scale->CenterY = -CardHeightRect / SCALE_FACTOR; in adjust()
|
/dports/audio/libsidplayfp/libsidplayfp-2.3.1/src/ |
H A D | mixer.h | 48 static const int_least32_t SCALE_FACTOR = 1 << 16; variable 54 … static const int_least32_t C1 = static_cast<int_least32_t>(1.0 / (1.0 + SQRT_0_5) * SCALE_FACTOR); 55 …ic const int_least32_t C2 = static_cast<int_least32_t>(SQRT_0_5 / (1.0 + SQRT_0_5) * SCALE_FACTOR); 130 …32_t stereo_ch1_ThreeChips() const { return (C1*m_iSamples[0] + C2*m_iSamples[1]) / SCALE_FACTOR; } in stereo_ch1_ThreeChips() 131 …32_t stereo_ch2_ThreeChips() const { return (C2*m_iSamples[1] + C1*m_iSamples[2]) / SCALE_FACTOR; } in stereo_ch2_ThreeChips()
|
/dports/games/retroarch-assets/retroarch-assets-5f1b2caf7f635be055d03b0d23b146783a44aa6c/src/xmb/ |
H A D | convert_xmb_assets.sh | 41 SCALE_FACTOR=$SCALE_ICON 44 SCALE_FACTOR=$SCALE_BG 49 …rgb(255,255,255)' -alpha Background -DENSITY $DENSITY "$SRC_FILE" -resize $SCALE_FACTOR "$DST_FILE" 51 …convert -background 'rgb(255,255,255)' -alpha Background "$SRC_FILE" -resize $SCALE_FACTOR "$DST_F…
|
/dports/games/atomix/atomix-3.34.0/src/ |
H A D | goal-view.c | 25 #define SCALE_FACTOR 0.9 macro 78 x = col * tile_width * SCALE_FACTOR; in render_view() 79 y = row * tile_height * SCALE_FACTOR; in render_view() 122 SCALE_FACTOR, in create_small_item() 124 SCALE_FACTOR, GDK_INTERP_BILINEAR); in create_small_item()
|
/dports/audio/ocp/ocp-0.2.90/playsid/libsidplayfp-git/src/ |
H A D | mixer.h | 48 static const int_least32_t SCALE_FACTOR = 1 << 16; variable 54 … static const int_least32_t C1 = static_cast<int_least32_t>(1.0 / (1.0 + SQRT_0_5) * SCALE_FACTOR); 55 …ic const int_least32_t C2 = static_cast<int_least32_t>(SQRT_0_5 / (1.0 + SQRT_0_5) * SCALE_FACTOR); 131 …32_t stereo_ch1_ThreeChips() const { return (C1*m_iSamples[0] + C2*m_iSamples[1]) / SCALE_FACTOR; } in stereo_ch1_ThreeChips() 132 …32_t stereo_ch2_ThreeChips() const { return (C2*m_iSamples[1] + C1*m_iSamples[2]) / SCALE_FACTOR; } in stereo_ch2_ThreeChips()
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/modules/lyr_std/ |
H A D | shade.cpp | 269 #define SCALE_FACTOR (64.0) in accelerated_render() macro 270 if(/*quality>9 || */size[0]<=pw*SCALE_FACTOR) in accelerated_render() 362 int fw(floor_to_int(abs(size[0]/(pw*SCALE_FACTOR)))+1); in accelerated_render() 492 #define SCALE_FACTOR (64.0) in accelerated_cairorender() macro 501 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 502 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() 514 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 515 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() 534 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 535 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() [all …]
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/modules/lyr_std/ |
H A D | shade.cpp | 269 #define SCALE_FACTOR (64.0) in accelerated_render() macro 270 if(/*quality>9 || */size[0]<=pw*SCALE_FACTOR) in accelerated_render() 362 int fw(floor_to_int(abs(size[0]/(pw*SCALE_FACTOR)))+1); in accelerated_render() 492 #define SCALE_FACTOR (64.0) in accelerated_cairorender() macro 501 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 502 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() 514 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 515 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() 534 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 535 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/modules/lyr_std/ |
H A D | shade.cpp | 269 #define SCALE_FACTOR (64.0) in accelerated_render() macro 270 if(/*quality>9 || */size[0]<=pw*SCALE_FACTOR) in accelerated_render() 362 int fw(floor_to_int(abs(size[0]/(pw*SCALE_FACTOR)))+1); in accelerated_render() 492 #define SCALE_FACTOR (64.0) in accelerated_cairorender() macro 501 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 502 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() 514 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 515 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() 534 halfsizex=halfsizex>SCALE_FACTOR?SCALE_FACTOR:halfsizex; in accelerated_cairorender() 535 halfsizey=halfsizey>SCALE_FACTOR?SCALE_FACTOR:halfsizey; in accelerated_cairorender() [all …]
|
/dports/graphics/atril-lite/atril-1.26.0/backend/djvu/ |
H A D | djvu-document.c | 40 #define SCALE_FACTOR 0.2 macro 295 *width = info.width * SCALE_FACTOR; in document_get_page_size() 296 *height = info.height * SCALE_FACTOR; in document_get_page_size() 457 rectangle.x1 = points->x1 / SCALE_FACTOR; in djvu_selection_get_selected_text() 458 rectangle.y1 = (height - points->y2) / SCALE_FACTOR; in djvu_selection_get_selected_text() 459 rectangle.x2 = points->x2 / SCALE_FACTOR; in djvu_selection_get_selected_text() 460 rectangle.y2 = (height - points->y1) / SCALE_FACTOR; in djvu_selection_get_selected_text() 672 r->x1 *= SCALE_FACTOR; in djvu_document_find_find_text() 673 r->x2 *= SCALE_FACTOR; in djvu_document_find_find_text() 675 r->y1 = height - r->y2 * SCALE_FACTOR; in djvu_document_find_find_text() [all …]
|
/dports/graphics/atril/atril-1.26.0/backend/djvu/ |
H A D | djvu-document.c | 40 #define SCALE_FACTOR 0.2 macro 295 *width = info.width * SCALE_FACTOR; in document_get_page_size() 296 *height = info.height * SCALE_FACTOR; in document_get_page_size() 457 rectangle.x1 = points->x1 / SCALE_FACTOR; in djvu_selection_get_selected_text() 458 rectangle.y1 = (height - points->y2) / SCALE_FACTOR; in djvu_selection_get_selected_text() 459 rectangle.x2 = points->x2 / SCALE_FACTOR; in djvu_selection_get_selected_text() 460 rectangle.y2 = (height - points->y1) / SCALE_FACTOR; in djvu_selection_get_selected_text() 672 r->x1 *= SCALE_FACTOR; in djvu_document_find_find_text() 673 r->x2 *= SCALE_FACTOR; in djvu_document_find_find_text() 675 r->y1 = height - r->y2 * SCALE_FACTOR; in djvu_document_find_find_text() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/addons/jpgalleg/include/ |
H A D | dct.h | 29 #define SCALE_FACTOR(i) ((i) == 0 ? 1.0 : (cos((i) * M_PI / 16.0) * SQRT_2)) macro 30 #define AAN_FACTOR(i) (SCALE_FACTOR(i / 8) * SCALE_FACTOR(i % 8))
|
/dports/graphics/freeglut/freeglut-3.2.1/progs/demos/Lorenz/ |
H A D | lorenz.c | 50 #define SCALE_FACTOR 0.8 macro 208 glScaled ( 1.0 / SCALE_FACTOR, 1.0 / SCALE_FACTOR, 1.0 / SCALE_FACTOR ) ; in special_cb() 212 glScaled ( SCALE_FACTOR, SCALE_FACTOR, SCALE_FACTOR ) ; in special_cb()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/freeglut/progs/demos/Lorenz/ |
H A D | lorenz.c | 50 #define SCALE_FACTOR 0.8 macro 208 glScaled ( 1.0 / SCALE_FACTOR, 1.0 / SCALE_FACTOR, 1.0 / SCALE_FACTOR ) ; in special_cb() 212 glScaled ( SCALE_FACTOR, SCALE_FACTOR, SCALE_FACTOR ) ; in special_cb()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ua/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/ |
H A D | FontSelection.java | 32 private static final String SCALE_FACTOR = "scaleFactor"; //$NON-NLS-1$ field in FontSelection 66 …int scale = Platform.getPreferencesService().getInt(IntroPlugin.PLUGIN_ID, (SCALE_FACTOR), 0, nul… in getScalePercentage() 78 prefs.putInt(SCALE_FACTOR, i); in setScalePercentage() 89 String defaultScale = dprefs.get(SCALE_FACTOR, "0"); //$NON-NLS-1$ in resetScalePercentage() 90 iprefs.put(SCALE_FACTOR, defaultScale); in resetScalePercentage()
|
/dports/graphics/milton/milton-1.9.1/src/ |
H A D | milton_configuration.h | 39 #define SCALE_FACTOR 1.3f macro 41 #undef SCALE_FACTOR 42 #define SCALE_FACTOR 1.5f macro
|