/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/core/src/view/ |
H A D | ZLPaintContext.cpp | 37 const int origHeight = image.height(); in imageWidth() local 38 if (origWidth == 0 || origHeight == 0) { in imageWidth() 42 if ((origWidth <= width) && (origHeight <= height)) { in imageWidth() 48 height = std::min(height, origHeight); in imageWidth() 50 if (origWidth * height < origHeight * width) { in imageWidth() 51 return (origWidth * height + origHeight / 2) / origHeight; in imageWidth() 58 const int origHeight = image.height(); in imageHeight() local 59 if (origWidth == 0 || origHeight == 0) { in imageHeight() 65 return origHeight; in imageHeight() 69 height = std::min(height, origHeight); in imageHeight() [all …]
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/nfnt/resize/ |
H A D | thumbnail.go | 30 origHeight := uint(origBounds.Dy()) 31 newWidth, newHeight := origWidth, origHeight 34 if maxWidth >= origWidth && maxHeight >= origHeight { 40 newHeight = uint(origHeight * maxWidth / origWidth)
|
H A D | thumbnail_test.go | 15 origHeight int 32 img := image.NewGray16(image.Rect(0, 0, tt.origWidth, tt.origHeight))
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/nfnt/resize/ |
H A D | thumbnail.go | 30 origHeight := uint(origBounds.Dy()) 31 newWidth, newHeight := origWidth, origHeight 34 if maxWidth >= origWidth && maxHeight >= origHeight { 40 newHeight = uint(origHeight * maxWidth / origWidth)
|
H A D | thumbnail_test.go | 15 origHeight int 32 img := image.NewGray16(image.Rect(0, 0, tt.origWidth, tt.origHeight))
|
/dports/security/keybase/client-v5.7.1/go/vendor/github.com/nfnt/resize/ |
H A D | thumbnail.go | 30 origHeight := uint(origBounds.Dy()) 31 newWidth, newHeight := origWidth, origHeight 34 if maxWidth >= origWidth && maxHeight >= origHeight { 40 newHeight = uint(origHeight * maxWidth / origWidth)
|
/dports/www/gitea/gitea-1.16.5/vendor/github.com/nfnt/resize/ |
H A D | thumbnail.go | 30 origHeight := uint(origBounds.Dy()) 31 newWidth, newHeight := origWidth, origHeight 34 if maxWidth >= origWidth && maxHeight >= origHeight { 40 newHeight = uint(origHeight * maxWidth / origWidth)
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/nfnt/resize/ |
H A D | thumbnail.go | 30 origHeight := uint(origBounds.Dy()) 31 newWidth, newHeight := origWidth, origHeight 34 if maxWidth >= origWidth && maxHeight >= origHeight { 40 newHeight = uint(origHeight * maxWidth / origWidth)
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/heretic/include/ |
H A D | r_defs.h | 41 #define SP_floororigheight planes[PLN_FLOOR].origHeight 42 #define SP_ceilorigheight planes[PLN_CEILING].origHeight 68 float origHeight; member
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/doom/include/ |
H A D | r_defs.h | 38 #define SP_floororigheight planes[PLN_FLOOR].origHeight 39 #define SP_ceilorigheight planes[PLN_CEILING].origHeight 65 coord_t origHeight; member
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/doom64/include/ |
H A D | r_defs.h | 39 #define SP_floororigheight planes[PLN_FLOOR].origHeight 40 #define SP_ceilorigheight planes[PLN_CEILING].origHeight 66 float origHeight; member
|
/dports/graphics/digikam/digikam-7.4.0/core/utilities/imageeditor/core/ |
H A D | editorcore_p.h | 89 origHeight (0), in Private() 127 int origHeight; variable 174 h = origHeight; in putImageData() 181 origHeight = h; in putImageData() 195 origHeight = 0; in resetValues() 255 origHeight = image.height(); in applyBuiltinFilter() 257 height = origHeight; in applyBuiltinFilter()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/toltecs/ |
H A D | sprite.cpp | 34 _curHeight = _sprite->origHeight; in SpriteReader() 85 _origHeight = _sprite->origHeight; in SpriteFilterScaleDown() 137 _origHeight = _sprite->origHeight; in SpriteFilterScaleUp() 229 sprite.origHeight = spriteFrameEntry.h; in createSpriteDrawItem() 249 scaleValueY = scaleValue * sprite.origHeight; in createSpriteDrawItem() 250 sprite.ydelta = (10000 * sprite.origHeight) / scaleValueY; in createSpriteDrawItem() 256 sprite.height = sprite.origHeight + scaleValueY; in createSpriteDrawItem() 262 sprite.height = sprite.origHeight - 1 - scaleValueY; in createSpriteDrawItem() 393 sprite.width, sprite.height, sprite.origWidth, sprite.origHeight); in drawSprite()
|
/dports/games/scummvm/scummvm-2.5.1/engines/toltecs/ |
H A D | sprite.cpp | 34 _curHeight = _sprite->origHeight; in SpriteReader() 85 _origHeight = _sprite->origHeight; in SpriteFilterScaleDown() 137 _origHeight = _sprite->origHeight; in SpriteFilterScaleUp() 229 sprite.origHeight = spriteFrameEntry.h; in createSpriteDrawItem() 249 scaleValueY = scaleValue * sprite.origHeight; in createSpriteDrawItem() 250 sprite.ydelta = (10000 * sprite.origHeight) / scaleValueY; in createSpriteDrawItem() 256 sprite.height = sprite.origHeight + scaleValueY; in createSpriteDrawItem() 262 sprite.height = sprite.origHeight - 1 - scaleValueY; in createSpriteDrawItem() 393 sprite.width, sprite.height, sprite.origWidth, sprite.origHeight); in drawSprite()
|
/dports/devel/godot2/godot-2.1.6-stable/modules/etc1/ |
H A D | texture_loader_pkm.cpp | 11 uint16_t origHeight; member 44 h.origHeight = f->get_16(); in load() 56 int height = h.origHeight; in load()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/modules/etc1/ |
H A D | texture_loader_pkm.cpp | 11 uint16_t origHeight; member 44 h.origHeight = f->get_16(); in load() 56 int height = h.origHeight; in load()
|
/dports/devel/godot/godot-3.2.3-stable/modules/etc/ |
H A D | texture_loader_pkm.cpp | 42 uint16_t origHeight; member 72 h.origHeight = f->get_16(); in load() 84 int height = h.origHeight; in load()
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/etc/ |
H A D | texture_loader_pkm.cpp | 42 uint16_t origHeight; member 72 h.origHeight = f->get_16(); in load() 84 int height = h.origHeight; in load()
|
/dports/cad/openroad/OpenROAD-2.0/src/replace/src/ |
H A D | plot.cpp | 79 origHeight(0), in PlotEnv() 92 origHeight(pb_->die().dieUy()-pb_->die().dieLy()), in PlotEnv() 106 origHeight in Init() 113 if(origWidth < origHeight) { in Init() 115 = 1.0 * origHeight / (origWidth / minLength); in Init() 120 imageWidth = 1.0 * origWidth / (origHeight / minLength); in Init() 132 unitY = imageHeight / origHeight; in Init() 223 return (origHeight - (coord.y - pb_->die().dieLy())) * unitY + yMargin; in GetY() 227 return (origHeight - (coord - pb_->die().dieLy())) * unitY + yMargin; in GetY()
|
/dports/graphics/hugin/hugin-2020.0.0/src/deghosting/ |
H A D | khan.h | 321 const int origHeight = weights[0]->height(); in createWeightMasks() local 353 int resized_height = origHeight / ( iterations/(it+1) ); in createWeightMasks() 362 } else if (origWidth >= 100 && origHeight >= 100) { in createWeightMasks() 364 if (origWidth >= origHeight) { in createWeightMasks() 365 … resizedWeight = vigra::FImage(vigra::Size2D(100 * origWidth / origHeight, 100)); in createWeightMasks() 366 … resizedLab = ProcessImageType(vigra::Size2D(100 * origWidth / origHeight, 100)); in createWeightMasks() 368 … resizedWeight = vigra::FImage(vigra::Size2D(100, 100 * origHeight / origWidth)); in createWeightMasks() 369 … resizedLab = ProcessImageType(vigra::Size2D(100, 100 * origHeight / origWidth)); in createWeightMasks()
|
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/html/inc/ |
H A D | profile.inc | 118 $image, $origWidth, $origHeight, $targetWidth, $targetHeight 124 if ($origWidth <= $targetWidth && $origHeight <= $targetHeight) { 128 …($origWidth > $origHeight)? $scalar = ($origWidth / $targetWidth) : $scalar = ($origHeight / $targ… 132 $destHeight = $origHeight / $scalar; 135 $destHeight = $origHeight; 146 $destHeight, $origWidth, $origHeight 154 $origWidth, $origHeight
|
/dports/mail/thunderbird/thunderbird-91.8.0/widget/cocoa/ |
H A D | MOZIconHelper.mm | 46 int32_t origWidth = 0, origHeight = 0; 48 aImage->GetHeight(&origHeight); 52 if (!aSubRect.IsEmpty() && (aSubRect.XMost() > origWidth || aSubRect.YMost() > origHeight)) { 58 aSubRect.height == origHeight);
|
/dports/www/firefox/firefox-99.0/widget/cocoa/ |
H A D | MOZIconHelper.mm | 46 int32_t origWidth = 0, origHeight = 0; 48 aImage->GetHeight(&origHeight); 52 if (!aSubRect.IsEmpty() && (aSubRect.XMost() > origWidth || aSubRect.YMost() > origHeight)) { 58 aSubRect.height == origHeight);
|
/dports/www/firefox-esr/firefox-91.8.0/widget/cocoa/ |
H A D | MOZIconHelper.mm | 46 int32_t origWidth = 0, origHeight = 0; 48 aImage->GetHeight(&origHeight); 52 if (!aSubRect.IsEmpty() && (aSubRect.XMost() > origWidth || aSubRect.YMost() > origHeight)) { 58 aSubRect.height == origHeight);
|
/dports/x11-toolkits/lesstif/lesstif-0.95.2/clients/Motif-2.1/mwm/ |
H A D | resize.c | 56 static int origHeight; variable 134 if ((y_root <= origy) || ((ymotion == 1) && (y_root < origy + origHeight - 1))) in resize_window() 137 dragHeight = origy + origHeight - y_root; in resize_window() 141 else if ((y_root >= origy + origHeight - 1) || in resize_window() 173 dragy = origy + origHeight - dragHeight; in resize_window() 306 origHeight = dragHeight; in RESIZE_EventLoop() 317 display_size(scr, tmp_win, origWidth, origHeight, True); in RESIZE_EventLoop()
|