Home
last modified time | relevance | path

Searched refs:hRatio (Results 1 – 25 of 58) sorted by relevance

123

/dports/audio/snack/snack2.2.10/generic/
H A Dshape.c62 double begin, len, Fe, hRatio, pos; in shapeCmd() local
258 hRatio = Fe / pps; in shapeCmd()
260 hRatio = Fe * len / width; in shapeCmd()
265 pos = floor(begin * Fe / hRatio) * hRatio; in shapeCmd()
282 Snack_SetLength(shp, (int) (2 * ceil((endpos+1-pos)/hRatio))); in shapeCmd()
305 k0 = (long) pos; pos += hRatio; k1 = (long) pos; in shapeCmd()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/painting/
H A Dqprintengine_mac.mm312 qreal hRatio = resolution.hRes / 72;
315 val = qRound((r.right - r.left) * hRatio);
318 val = qRound((r.right - r.left) * hRatio);
844 qreal hRatio = d->resolution.hRes / 72;
853 r.adjust(qRound(margins.at(0).toDouble() * hRatio),
855 -qRound(margins.at(2).toDouble() * hRatio),
862 r.setCoords(int(macpaper.left * hRatio), int(macpaper.top * vRatio),
870 r.setCoords(int(macrect.left * hRatio), int(macrect.top * vRatio),
883 qreal hRatio = d->resolution.hRes / 72;
888 r.setCoords(int(macrect.left * hRatio), int(macrect.top * vRatio),
[all …]
/dports/graphics/qcomicbook/QComicBook-0.9.1/src/
H A DComicImage.cpp110 const double hRatio = static_cast<double>(viewH) / totalHeight; in recalcScaledSize() local
134 pixmapWidth = static_cast<int>(static_cast<double>(totalWidth) * hRatio); in recalcScaledSize()
139 const double ratio = std::min(wRatio, hRatio); in recalcScaledSize()
/dports/multimedia/baka-mplayer/Baka-MPlayer-2.0.4/src/
H A Dgesturehandler.cpp38 hRatio = qApp->desktop()->physicalDpiX() / 800.0; in Begin()
76 int relative = delta.x() * hRatio; in Process()
H A Dgesturehandler.h38 double hRatio, variable
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/methods/ann/layer/
H A Dglimpse.hpp293 double hRatio = (double) (input.n_cols - 1) / (size - 1); in ReSampling() local
303 double iy = hRatio * y; in ReSampling()
343 double hRatio = iHeight / (size - 1); in DownwardReSampling() local
350 double iy = hRatio * y; in DownwardReSampling()
/dports/x11-themes/qtcurve-utils/qtcurve-1.9/qt5/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/qtcurve-gtk2/qtcurve-1.9/qt4/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/qtcurve-gtk2/qtcurve-1.9/qt5/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/qtcurve-kf5/qtcurve-1.9/qt4/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/qtcurve-qt5/qtcurve-1.9/qt4/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/qtcurve-kf5/qtcurve-1.9/qt5/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/qtcurve-utils/qtcurve-1.9/qt4/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/qtcurve-qt5/qtcurve-1.9/qt5/kwin/
H A Dtileset.cpp130 qreal hRatio(qreal(_h1) / qreal(_h1 + _h3)); in render() local
131 int hTop = (t & Bottom) ? qMin(_h1, int(h * hRatio)) : _h1; in render()
132 int hBottom = (t & Top) ? qMin(_h3, int(h * (1.0 - hRatio))) : _h3; in render()
/dports/x11-themes/gtk3-oxygen-engine/oxygen-gtk3-1.4.1/src/
H A Doxygentileset.cpp137 double hRatio( double( _h1 )/double( _h1 + _h3 ) ); in render()
138 hTop = (t&Bottom) ? std::min( _h1, int(h*hRatio) ):_h1; in render()
139 hBottom = (t&Top) ? std::min( _h3, int(h*(1.0-hRatio)) ):_h3; in render()
/dports/x11-themes/plasma5-breeze/breeze-5.23.5/kstyle/
H A Dbreezetileset.cpp131 qreal hRatio( qreal( _h1 )/qreal( _h1 + _h3 ) ); in render() local
132 hTop = (tiles&Bottom) ? qMin( _h1, int(h*hRatio) ):_h1; in render()
133 hBottom = (tiles&Top) ? qMin( _h3, int(h*(1.0-hRatio)) ):_h3; in render()
/dports/x11-themes/gtk-oxygen-engine/oxygen-gtk2-1.4.6/src/
H A Doxygentileset.cpp140 double hRatio( double( _h1 )/double( _h1 + _h3 ) ); in render()
141 hTop = (t&Bottom) ? std::min( _h1, int(h*hRatio) ):_h1; in render()
142 hBottom = (t&Top) ? std::min( _h3, int(h*(1.0-hRatio)) ):_h3; in render()
/dports/graphics/opencv/opencv-4.5.3/modules/gapi/test/
H A Dgapi_fluid_resize_test.cpp54 double hRatio = (double)in.length() / length; in GAPI_FLUID_KERNEL() local
68 auto inX = static_cast<int>(x * hRatio); in GAPI_FLUID_KERNEL()
95 double hRatio = (double)in.size.width / outSz.width; in initScratch() local
99 mapX[x] = Mapper::map(hRatio, 0, in.size.width, x); in initScratch()
253 double hRatio = (double)in.length() / length; in GAPI_FLUID_KERNEL() local
267 int startX = startInCoord(x, hRatio); in GAPI_FLUID_KERNEL()
268 int endX = endInCoord (x, hRatio); in GAPI_FLUID_KERNEL()
286 double startCoordX = inX / hRatio; in GAPI_FLUID_KERNEL()
287 double endCoordX = startCoordX + 1/hRatio; in GAPI_FLUID_KERNEL()
292 …racX = static_cast<float>((inX == startX || inX == endX - 1) ? endCoordX - startCoordX : 1/hRatio); in GAPI_FLUID_KERNEL()
/dports/x11-themes/plasma5-oxygen/oxygen-5.23.5/liboxygen/
H A Doxygentileset.cpp179 qreal hRatio( qreal( _h1 )/qreal( _h1 + _h3 ) ); in render() local
180 hTop = (tiles&Bottom) ? qMin( _h1, int(h*hRatio) ):_h1; in render()
181 hBottom = (tiles&Top) ? qMin( _h3, int(h*(1.0-hRatio)) ):_h3; in render()
/dports/games/moria/umoria/mac/scrnmgr/
H A DScrnMgr.h218 long DoScreenALRT(long id, long kind, Fixed hRatio, Fixed vRatio);
222 void CenterScreenDLOG(long id, Fixed hRatio, Fixed vRatio, long *h, long *v);
/dports/www/kf5-khtml/khtml-5.89.0/src/imload/
H A Dimage.cpp418 double hRatio = size.height() / double(height); in refSize() local
426 int newHeight = qRound(cur->height * hRatio); in refSize()
/dports/databases/redisdesktopmanager/RedisDesktopManager-2021.8/src/qml/
H A Dapp.qml32 property double hRatio : (height * 1.0) / (Screen.height * 1.0)
43 if (hRatio > 1 || wRatio > 1) {
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/titler/
H A Dgraphicsscenerectmove.cpp953 double hRatio = newrect.width() / m_selectedItem->data(0).toInt(); in mouseMoveEvent() local
955 if (hRatio < vRatio) { in mouseMoveEvent()
956 newrect.setHeight(m_selectedItem->data(1).toInt() * hRatio); in mouseMoveEvent()
970 double hRatio = newrect.width() / m_selectedItem->data(0).toInt(); in mouseMoveEvent() local
972 if (hRatio < vRatio) { in mouseMoveEvent()
973 newrect.setHeight(m_selectedItem->data(1).toInt() * hRatio); in mouseMoveEvent()
/dports/games/dhewm3/dhewm3-1.5.1/neo/renderer/
H A DRenderSystem.cpp750 float hRatio = (float)rc->height / SCREEN_HEIGHT; in RenderViewToViewport() local
754 …::Ftoi( ( rc->y + rc->height ) - floor( ( renderView->y + renderView->height ) * hRatio + 0.5f ) ); in RenderViewToViewport()
755 viewport->y2 = idMath::Ftoi( ( rc->y + rc->height ) - floor( renderView->y * hRatio + 0.5f ) - 1 ); in RenderViewToViewport()
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/image/jpeg/
H A Dscan.go21 hRatio := h0 / d.comp[1].h
24 switch hRatio<<4 | vRatio {

123