Home
last modified time | relevance | path

Searched refs:nDeltaX (Results 1 – 25 of 66) sorted by relevance

123

/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/gdi/
H A Dbmpacc.cxx262 sal_Int16 nDeltaX((fX - (nX + 0.5)) * 255.0); // [-255 .. 255] in GetInterpolatedColorWithFallback() local
267 if(nDeltaX > 0) in GetInterpolatedColorWithFallback()
274 nDeltaX = -nDeltaX; in GetInterpolatedColorWithFallback()
290 if(nDeltaX && nIndX >= 0 && nIndX < mpBuffer->mnWidth) in GetInterpolatedColorWithFallback()
306 …if(nDeltaX && nDeltaY && nIndX >=0 && nIndY >= 0 && nIndX < mpBuffer->mnWidth && nIndY < mpBuffer-… in GetInterpolatedColorWithFallback()
314 aRetval.Merge(aXCol, 255 - nDeltaX); in GetInterpolatedColorWithFallback()
320 aYCol.Merge(aXYCol, 255 - nDeltaX); in GetInterpolatedColorWithFallback()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svtools/source/control/
H A Dscrwin.cxx273 void ScrollableWindow::Scroll( long nDeltaX, long nDeltaY, ScrollFlags ) in Scroll() argument
276 Size aDeltaPix( LogicToPixel( Size(nDeltaX, nDeltaY) ) ); in Scroll()
282 if ( nDeltaX != 0 ) in Scroll()
305 nDeltaX = aDelta.Width(); in Scroll()
310 if ( nDeltaX != 0 || nDeltaY != 0 ) in Scroll()
322 Window::Scroll(-nDeltaX, -nDeltaY, in Scroll()
337 if ( nDeltaX ) in Scroll()
/dports/graphics/py-gdal/gdal-3.3.3/alg/
H A Dllrasterize.cpp271 int nDeltaX = std::abs(iX1 - iX); in GDALdllImageLine() local
279 if( nDeltaX >= nDeltaY ) in GDALdllImageLine()
282 const int nYError = nXError - (nDeltaX << 1); in GDALdllImageLine()
283 int nError = nXError - nDeltaX; in GDALdllImageLine()
288 nDeltaX == 0 in GDALdllImageLine()
290 : (dfVariant1 - dfVariant) / nDeltaX; in GDALdllImageLine()
297 nDeltaX --; in GDALdllImageLine()
300 while( nDeltaX-- >= 0 ) in GDALdllImageLine()
321 const int nXError = nDeltaX << 1; in GDALdllImageLine()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/alg/
H A Dllrasterize.cpp271 int nDeltaX = std::abs(iX1 - iX); in GDALdllImageLine() local
279 if( nDeltaX >= nDeltaY ) in GDALdllImageLine()
282 const int nYError = nXError - (nDeltaX << 1); in GDALdllImageLine()
283 int nError = nXError - nDeltaX; in GDALdllImageLine()
288 nDeltaX == 0 in GDALdllImageLine()
290 : (dfVariant1 - dfVariant) / nDeltaX; in GDALdllImageLine()
297 nDeltaX --; in GDALdllImageLine()
300 while( nDeltaX-- >= 0 ) in GDALdllImageLine()
321 const int nXError = nDeltaX << 1; in GDALdllImageLine()
/dports/graphics/gdal/gdal-3.3.3/alg/
H A Dllrasterize.cpp271 int nDeltaX = std::abs(iX1 - iX); in GDALdllImageLine() local
279 if( nDeltaX >= nDeltaY ) in GDALdllImageLine()
282 const int nYError = nXError - (nDeltaX << 1); in GDALdllImageLine()
283 int nError = nXError - nDeltaX; in GDALdllImageLine()
288 nDeltaX == 0 in GDALdllImageLine()
290 : (dfVariant1 - dfVariant) / nDeltaX; in GDALdllImageLine()
297 nDeltaX --; in GDALdllImageLine()
300 while( nDeltaX-- >= 0 ) in GDALdllImageLine()
321 const int nXError = nDeltaX << 1; in GDALdllImageLine()
/dports/devel/upp/upp/bazaar/plugin/gdal/alg/
H A Dllrasterize.cpp308 int nDeltaX = ABS( iX1 - iX ); in GDALdllImageLine() local
316 if ( nDeltaX >= nDeltaY ) in GDALdllImageLine()
319 const int nYError = nXError - (nDeltaX << 1); in GDALdllImageLine()
320 int nError = nXError - nDeltaX; in GDALdllImageLine()
323 double dfDeltaVariant = (nDeltaX == 0) ? 0 : (dfVariant1 - dfVariant) / in GDALdllImageLine()
324 (double)nDeltaX; in GDALdllImageLine()
326 while ( nDeltaX-- >= 0 ) in GDALdllImageLine()
345 const int nXError = nDeltaX << 1; in GDALdllImageLine()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/bitmap/
H A DBitmapReadAccess.cxx155 sal_Int16 nDeltaX((fX - (nX + 0.5)) * 255.0); // [-255 .. 255] in GetInterpolatedColorWithFallback() local
160 if (nDeltaX > 0) in GetInterpolatedColorWithFallback()
167 nDeltaX = -nDeltaX; in GetInterpolatedColorWithFallback()
183 if (nDeltaX && nIndX >= 0 && nIndX < mpBuffer->mnWidth) in GetInterpolatedColorWithFallback()
199 if (nDeltaX && nDeltaY && nIndX >= 0 && nIndY >= 0 && nIndX < mpBuffer->mnWidth in GetInterpolatedColorWithFallback()
208 aRetval.Merge(aXCol, 255 - nDeltaX); in GetInterpolatedColorWithFallback()
214 aYCol.Merge(aXYCol, 255 - nDeltaX); in GetInterpolatedColorWithFallback()
/dports/editors/libreoffice/libreoffice-7.2.6.2/basctl/source/dlged/
H A Ddlgedfunc.cxx50 tools::Long nDeltaX = pHScroll->GetLineSize(); in ForceScroll() local
56 nDeltaX = -nDeltaX; in ForceScroll()
58 nDeltaX = 0; in ForceScroll()
65 if( nDeltaX ) in ForceScroll()
66 pHScroll->SetThumbPos( pHScroll->GetThumbPos() + nDeltaX ); in ForceScroll()
70 if( nDeltaX ) in ForceScroll()
H A Ddlgedview.cxx77 sal_Int32 nDeltaX = rDlgEditor.GetHScroll()->GetLineSize(); in MakeVisible() local
81 nScrollX += nDeltaX; in MakeVisible()
84 nScrollX -= nDeltaX; in MakeVisible()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/basctl/source/dlged/
H A Ddlgedfunc.cxx50 long nDeltaX = pHScroll->GetLineSize(); in ForceScroll() local
56 nDeltaX = -nDeltaX; in ForceScroll()
58 nDeltaX = 0; in ForceScroll()
65 if( nDeltaX ) in ForceScroll()
66 pHScroll->SetThumbPos( pHScroll->GetThumbPos() + nDeltaX ); in ForceScroll()
70 if( nDeltaX ) in ForceScroll()
H A Ddlgedview.cxx79 sal_Int32 nDeltaX = rDlgEditor.GetHScroll()->GetLineSize(); in MakeVisible() local
83 nScrollX += nDeltaX; in MakeVisible()
86 nScrollX -= nDeltaX; in MakeVisible()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/intf/input/sdl/
H A Dinp_sdl.cpp389 int nDeltaX, nDeltaY; in SDLinpFind() local
398 nDeltaX = SDLinpMouseAxis(0, 0); in SDLinpFind()
400 if (abs(nDeltaX) < abs(nDeltaY)) { in SDLinpFind()
405 if (nDeltaX != 0) { in SDLinpFind()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/intf/input/sdl/
H A Dinp_sdl.cpp389 int nDeltaX, nDeltaY; in SDLinpFind() local
398 nDeltaX = SDLinpMouseAxis(0, 0); in SDLinpFind()
400 if (abs(nDeltaX) < abs(nDeltaY)) { in SDLinpFind()
406 if (nDeltaX != 0) { in SDLinpFind()
H A Dinp_sdl2.cpp687 int nDeltaX, nDeltaY; in SDLinpFind() local
696 nDeltaX = SDLinpMouseAxis(0, 0); in SDLinpFind()
698 if (abs(nDeltaX) < abs(nDeltaY)) { in SDLinpFind()
704 if (nDeltaX != 0) { in SDLinpFind()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/control/
H A Dcalendar.cxx610 long nDeltaX; in ImplDraw() local
666 nDeltaX = nX; in ImplDraw()
692 nDeltaX += nMonthOffX1 + 1; in ImplDraw()
696 nDeltaX += mnMonthWidth - nMonthOffX2 - nMonthTextWidth; in ImplDraw()
698 nDeltaX += nTempOff; in ImplDraw()
701 rRenderContext.DrawText(Point(nDeltaX, nDeltaY), aMonthText); in ImplDraw()
725 nDeltaX = nDayX + (nDay * mnDayWidth); in ImplDraw()
733 nDeltaX = nDayX + (nDayIndex * mnDayWidth); in ImplDraw()
734 ImplDrawDate(rRenderContext, nDeltaX, nDayY, nDay, nMonth, nYear, in ImplDraw()
753 nDeltaX = nDayX + (nDayIndex * mnDayWidth); in ImplDraw()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/window/
H A Dcommandevent.cxx83 CommandScrollData::CommandScrollData( long nDeltaX, long nDeltaY ) in CommandScrollData() argument
85 mnDeltaX = nDeltaX; in CommandScrollData()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/window/
H A Dcommandevent.cxx83 CommandScrollData::CommandScrollData( tools::Long nDeltaX, tools::Long nDeltaY ) in CommandScrollData() argument
85 mnDeltaX = nDeltaX; in CommandScrollData()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/control/
H A Dcalendar.cxx606 tools::Long nDeltaX; in ImplDraw() local
662 nDeltaX = nX; in ImplDraw()
688 nDeltaX += nMonthOffX1 + 1; in ImplDraw()
692 nDeltaX += mnMonthWidth - nMonthOffX2 - nMonthTextWidth; in ImplDraw()
694 nDeltaX += nTempOff; in ImplDraw()
697 rRenderContext.DrawText(Point(nDeltaX, nDeltaY), aMonthText); in ImplDraw()
721 nDeltaX = nDayX + (nDay * mnDayWidth); in ImplDraw()
729 nDeltaX = nDayX + (nDayIndex * mnDayWidth); in ImplDraw()
730 ImplDrawDate(rRenderContext, nDeltaX, nDayY, nDay, nMonth, nYear, in ImplDraw()
749 nDeltaX = nDayX + (nDayIndex * mnDayWidth); in ImplDraw()
[all …]
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/win32/
H A DResizeDlg.cpp416 const int nDeltaX = cx - pdd->m_sizeClient.cx; in UpdateWindowSize() local
431 rc.left += nDeltaX; in UpdateWindowSize()
432 rc.right += nDeltaX; in UpdateWindowSize()
445 rc.right += nDeltaX; in UpdateWindowSize()
/dports/emulators/vba/VisualBoyAdvance-1.7.2/src/win32/
H A DResizeDlg.cpp416 const int nDeltaX = cx - pdd->m_sizeClient.cx; in UpdateWindowSize() local
431 rc.left += nDeltaX; in UpdateWindowSize()
432 rc.right += nDeltaX; in UpdateWindowSize()
445 rc.right += nDeltaX; in UpdateWindowSize()
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/samples/sample_hevc_fei_abr/src/
H A Dfei_utils.cpp288 mfxI32 nDeltaX = x1 - x0; in DrawLine() local
290 mfxI32 nError = nDeltaX / 2; in DrawLine()
308 nError += nDeltaX; in DrawLine()
/dports/games/scummvm/scummvm-2.5.1/engines/icb/
H A Dsound_logic.cpp349 int32 nDeltaX, nDeltaY, nDeltaZ; in CalculateEffectiveVolume() local
382 nDeltaX = abs(nMegaX - nSoundX); in CalculateEffectiveVolume()
387 nMaxDelta = MAX(nDeltaX, MAX(nDeltaY, nDeltaZ)); in CalculateEffectiveVolume()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/svtools/
H A Dscrwin.hxx62 …virtual void Scroll( long nDeltaX, long nDeltaY, ScrollFlags nFlags = ScrollFlags::NONE ) overr…
/dports/editors/libreoffice/libreoffice-7.2.6.2/sfx2/source/view/
H A Dframe.cxx568 tools::Long nDeltaX = rBorder.Left() + rBorder.Right(); in SetToolSpaceBorderPixel_Impl() local
569 if ( aSize.Width() > nDeltaX ) in SetToolSpaceBorderPixel_Impl()
570 aSize.AdjustWidth( -nDeltaX ); in SetToolSpaceBorderPixel_Impl()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sfx2/source/view/
H A Dframe.cxx591 long nDeltaX = rBorder.Left() + rBorder.Right(); in SetToolSpaceBorderPixel_Impl() local
592 if ( aSize.Width() > nDeltaX ) in SetToolSpaceBorderPixel_Impl()
593 aSize.AdjustWidth( -nDeltaX ); in SetToolSpaceBorderPixel_Impl()

123