Home
last modified time | relevance | path

Searched refs:DestRect (Results 1 – 25 of 102) sorted by relevance

12345

/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Utils/
H A DSlider.cc218 SGPRect DestRect; in RenderSliderBox() local
224 DestRect.iRight = DestRect.iLeft + s->ubSliderWidth; in RenderSliderBox()
225 DestRect.iBottom = DestRect.iTop + s->ubSliderHeight; in RenderSliderBox()
227 if (s->LastRect.iTop == DestRect.iTop) return; in RenderSliderBox()
235 BltVideoObject(FRAME_BUFFER, guiSliderBoxImage, 0, DestRect.iLeft, DestRect.iTop); in RenderSliderBox()
238 InvalidateRegion(DestRect.iLeft, DestRect.iTop, DestRect.iRight, DestRect.iBottom); in RenderSliderBox()
245 DestRect.iRight = DestRect.iLeft + s->ubSliderWidth; in RenderSliderBox()
246 DestRect.iBottom = DestRect.iTop + s->ubSliderHeight; in RenderSliderBox()
253 BltVideoObject(FRAME_BUFFER, guiSliderBoxImage, 0, DestRect.iLeft, DestRect.iTop); in RenderSliderBox()
256 …InvalidateRegion(DestRect.iLeft, DestRect.iTop, s->usCurrentSliderBoxPosition+9, s->usPosY + DEFUA… in RenderSliderBox()
[all …]
H A DMercTextBox.cc205 SGPBox const DestRect = { 0, 0, usWidth, usHeight }; in PrepareMercPopupBox() local
206 BltVideoSurface(vs, box->uiMercTextPopUpBackground, 0, 0, &DestRect); in PrepareMercPopupBox()
/dports/devel/sdl_console/sdlconsole-2.1/src/
H A DDT_drawtext.c146 SDL_Rect SourceRect, DestRect; in DT_DrawText() local
160 DestRect.x = x; in DT_DrawText()
161 DestRect.y = y; in DT_DrawText()
162 DestRect.w = CurrentFont->CharWidth; in DT_DrawText()
163 DestRect.h = CurrentFont->CharHeight; in DT_DrawText()
176 SDL_BlitSurface(CurrentFont->FontSurface, &SourceRect, surface, &DestRect); in DT_DrawText()
177 DestRect.x += CurrentFont->CharWidth; in DT_DrawText()
181 DestRect.x = x; in DT_DrawText()
182 DestRect.w = characters * CurrentFont->CharWidth; in DT_DrawText()
183 SDL_UpdateRects(surface, 1, &DestRect); in DT_DrawText()
H A DSDL_console.c260 SDL_Rect DestRect; in CON_UpdateConsole() local
280 DestRect.x = console->BackX; in CON_UpdateConsole()
281 DestRect.y = console->BackY; in CON_UpdateConsole()
282 DestRect.w = console->BackgroundImage->w; in CON_UpdateConsole()
283 DestRect.h = console->BackgroundImage->h; in CON_UpdateConsole()
339 SDL_Rect DestRect; in CON_DrawConsole() local
366 DestRect.x = console->DispX; in CON_DrawConsole()
367 DestRect.y = console->DispY; in CON_DrawConsole()
368 DestRect.w = console->ConsoleSurface->w; in CON_DrawConsole()
369 DestRect.h = console->ConsoleSurface->h; in CON_DrawConsole()
[all …]
/dports/games/moonlander/moon-lander/
H A DDT_drawtext.c196 SDL_Rect SourceRect, DestRect; in DT_DrawText() local
209 DestRect.x = x; in DT_DrawText()
210 DestRect.y = y; in DT_DrawText()
211 DestRect.w = CurrentFont->CharWidth; in DT_DrawText()
212 DestRect.h = CurrentFont->CharHeight; in DT_DrawText()
222 SDL_BlitSurface(CurrentFont->FontSurface, &SourceRect, surface, &DestRect); in DT_DrawText()
223 DestRect.x += CurrentFont->CharWidth; in DT_DrawText()
228 DestRect.x = x; in DT_DrawText()
229 DestRect.w = characters*CurrentFont->CharWidth; in DT_DrawText()
230 SDL_UpdateRects(surface, 1, &DestRect); in DT_DrawText()
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/sdl/
H A DDT_drawtext.c117 SDL_Rect SourceRect, DestRect; in DT_DrawText() local
131 DestRect.x = x; in DT_DrawText()
132 DestRect.y = y; in DT_DrawText()
133 DestRect.w = CurrentFont->CharWidth; in DT_DrawText()
134 DestRect.h = CurrentFont->CharHeight; in DT_DrawText()
147 SDL_BlitSurface(CurrentFont->FontSurface, &SourceRect, surface, &DestRect); in DT_DrawText()
148 DestRect.x += CurrentFont->CharWidth; in DT_DrawText()
H A DSDL_console.c205 SDL_Rect DestRect; in CON_UpdateConsole() local
224 DestRect.x = console->BackX; in CON_UpdateConsole()
225 DestRect.y = console->BackY; in CON_UpdateConsole()
226 DestRect.w = console->BackgroundImage->w; in CON_UpdateConsole()
227 DestRect.h = console->BackgroundImage->h; in CON_UpdateConsole()
229 console->ConsoleSurface, &DestRect); in CON_UpdateConsole()
286 SDL_Rect DestRect; in CON_DrawConsole() local
308 DestRect.x = console->DispX; in CON_DrawConsole()
309 DestRect.y = console->DispY; in CON_DrawConsole()
311 DestRect.h = console->RaiseOffset; in CON_DrawConsole()
[all …]
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/agnostic/common/vp/hal/
H A Dvphal_render_composite.cpp3628 DestRect = pSource->rcDst; in SetLayer()
3764 DestRect.left = MOS_MIN(MOS_MAX(pTargetRect->left, DestRect.left ), in SetLayer()
3766 DestRect.right = MOS_MIN(MOS_MAX(pTargetRect->left, DestRect.right ), in SetLayer()
3768 DestRect.top = MOS_MIN(MOS_MAX(pTargetRect->top , DestRect.top ), in SetLayer()
3770 DestRect.bottom = MOS_MIN(MOS_MAX(pTargetRect->top , DestRect.bottom), in SetLayer()
3775 DestRect.left = in SetLayer()
3778 DestRect.right = in SetLayer()
3781 DestRect.top = in SetLayer()
3784 DestRect.bottom = in SetLayer()
3790 if (DestRect.left == DestRect.right || in SetLayer()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Laptop/
H A DAIMMembers.cc1690 SGPBox const DestRect = in DisplayTalkingMercFaceForVideoPopUp() local
1699 BltStretchVideoSurface(FRAME_BUFFER, guiVideoFaceBackground, &SrcRect, &DestRect); in DisplayTalkingMercFaceForVideoPopUp()
1703 …FRAME_BUFFER->ShadowRect(DestRect.x, DestRect.y, DestRect.x + DestRect.w - 1, DestRect.y + DestRec… in DisplayTalkingMercFaceForVideoPopUp()
2775 …SGPBox const DestRect = { usPosX, usPosY, (UINT16)(usPosRightX - usPosX), AIM_MEMBE… in DisplayMovingTitleBar() local
2788 BlitBufferToBuffer(FRAME_BUFFER, guiSAVEBUFFER, DestRect.x, DestRect.y, DestRect.w, DestRect.h); in DisplayMovingTitleBar()
2802 BlitBufferToBuffer(FRAME_BUFFER, guiSAVEBUFFER, DestRect.x, DestRect.y, DestRect.w, DestRect.h); in DisplayMovingTitleBar()
2806 BltStretchVideoSurface(FRAME_BUFFER, guiVideoTitleBar, &SrcRect, &DestRect); in DisplayMovingTitleBar()
2808 InvalidateRegion(DestRect.x, DestRect.y, DestRect.x + DestRect.w, DestRect.y + DestRect.h); in DisplayMovingTitleBar()
2811 LastRect = DestRect; in DisplayMovingTitleBar()
H A DLaptop.cc2267 SGPBox DestRect; in DisplayTitleBarMaximizeGraphic() local
2270 DestRect.x = LAPTOP_TITLE_BAR_TOP_LEFT_X; in DisplayTitleBarMaximizeGraphic()
2273 DestRect.h = sPosBottomY; in DisplayTitleBarMaximizeGraphic()
2277 DestRect.x = sPosX; in DisplayTitleBarMaximizeGraphic()
2278 DestRect.y = sPosY; in DisplayTitleBarMaximizeGraphic()
2279 DestRect.w = sPosRightX - sPosX; in DisplayTitleBarMaximizeGraphic()
2280 DestRect.h = sPosBottomY; in DisplayTitleBarMaximizeGraphic()
2294 BlitBufferToBuffer(FRAME_BUFFER, guiSAVEBUFFER, DestRect.x, DestRect.y, DestRect.w, DestRect.h); in DisplayTitleBarMaximizeGraphic()
2308 BlitBufferToBuffer(FRAME_BUFFER, guiSAVEBUFFER, DestRect.x, DestRect.y, DestRect.w, DestRect.h); in DisplayTitleBarMaximizeGraphic()
2314 InvalidateRegion(DestRect.x, DestRect.y, DestRect.x + DestRect.w, DestRect.y + DestRect.h); in DisplayTitleBarMaximizeGraphic()
[all …]
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/agnostic/common/vp/hal/
H A Dvphal_render_composite.cpp3737 DestRect = pSource->rcDst; in SetLayer()
3873 DestRect.left = MOS_MIN(MOS_MAX(pTargetRect->left, DestRect.left ), in SetLayer()
3875 DestRect.right = MOS_MIN(MOS_MAX(pTargetRect->left, DestRect.right ), in SetLayer()
3877 DestRect.top = MOS_MIN(MOS_MAX(pTargetRect->top , DestRect.top ), in SetLayer()
3879 DestRect.bottom = MOS_MIN(MOS_MAX(pTargetRect->top , DestRect.bottom), in SetLayer()
3884 DestRect.left = in SetLayer()
3887 DestRect.right = in SetLayer()
3890 DestRect.top = in SetLayer()
3893 DestRect.bottom = in SetLayer()
3899 if (DestRect.left == DestRect.right || in SetLayer()
[all …]
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/cairocanvas/
H A Dcairocanvas.pas137 procedure StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic); override;
141 procedure DrawSurface(const SourceRect, DestRect: TRect; surface: Pcairo_surface_t);
808 procedure TCairoPrinterCanvas.DrawSurface(const SourceRect, DestRect: TRect;
817 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
818 SW := (DestRect.Right - DestRect.Left)/(SourceRect.Right-SourceRect.Left);
819 SH := (DestRect.Bottom - DestRect.Top)/(SourceRect.Bottom-SourceRect.Top);
1267 procedure TCairoPrinterCanvas.StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic);
1275 inherited StretchDraw(DestRect, SrcGraphic);
1292 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
1293 SW := (DestRect.Right - DestRect.Left)/W;
[all …]
/dports/editors/lazarus/lazarus/components/cairocanvas/
H A Dcairocanvas.pas114 procedure StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic); override;
118 procedure DrawSurface(const SourceRect, DestRect: TRect; surface: Pcairo_surface_t);
805 procedure TCairoPrinterCanvas.DrawSurface(const SourceRect, DestRect: TRect;
814 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
815 SW := (DestRect.Right - DestRect.Left)/(SourceRect.Right-SourceRect.Left);
816 SH := (DestRect.Bottom - DestRect.Top)/(SourceRect.Bottom-SourceRect.Top);
1400 procedure TCairoPrinterCanvas.StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic);
1408 inherited StretchDraw(DestRect, SrcGraphic);
1425 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
1426 SW := (DestRect.Right - DestRect.Left)/W;
[all …]
/dports/editors/lazarus-qt5/lazarus/components/cairocanvas/
H A Dcairocanvas.pas114 procedure StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic); override;
118 procedure DrawSurface(const SourceRect, DestRect: TRect; surface: Pcairo_surface_t);
805 procedure TCairoPrinterCanvas.DrawSurface(const SourceRect, DestRect: TRect;
814 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
815 SW := (DestRect.Right - DestRect.Left)/(SourceRect.Right-SourceRect.Left);
816 SH := (DestRect.Bottom - DestRect.Top)/(SourceRect.Bottom-SourceRect.Top);
1400 procedure TCairoPrinterCanvas.StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic);
1408 inherited StretchDraw(DestRect, SrcGraphic);
1425 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
1426 SW := (DestRect.Right - DestRect.Left)/W;
[all …]
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/cairocanvas/
H A Dcairocanvas.pas137 procedure StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic); override;
141 procedure DrawSurface(const SourceRect, DestRect: TRect; surface: Pcairo_surface_t);
808 procedure TCairoPrinterCanvas.DrawSurface(const SourceRect, DestRect: TRect;
817 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
818 SW := (DestRect.Right - DestRect.Left)/(SourceRect.Right-SourceRect.Left);
819 SH := (DestRect.Bottom - DestRect.Top)/(SourceRect.Bottom-SourceRect.Top);
1267 procedure TCairoPrinterCanvas.StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic);
1275 inherited StretchDraw(DestRect, SrcGraphic);
1292 cairo_translate(cr, SX(DestRect.Left), SY(DestRect.Top));
1293 SW := (DestRect.Right - DestRect.Left)/W;
[all …]
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/
H A Dbgracanvas.pas211 …procedure StretchDraw(DestRect: TRect; SrcBitmap: TBGRACustomBitmap; HorizFlip: Boolean = false; V…
1740 procedure TBGRACanvas.StretchDraw(DestRect: TRect; SrcBitmap: TBGRACustomBitmap; HorizFlip: Boolean…
1744 with DestRect do
1762 if (DestRect.Right-DestRect.Left <> SrcBitmap.Width) or
1763 (DestRect.Bottom-DestRect.Top <> SrcBitmap.Height) or
1767 …Stretched := SrcBitmap.Resample(DestRect.Right-DestRect.Left,DestRect.Bottom-DestRect.Top,rmSimple…
1768 …Stretched := SrcBitmap.Resample(DestRect.Right-DestRect.Left,DestRect.Bottom-DestRect.Top,rmFineRe…
1771 FBitmap.PutImage(DestRect.Left,DestRect.Top,Stretched,dmDrawWithTransparency);
1774 FBitmap.PutImage(DestRect.Left,DestRect.Top,SrcBitmap,dmDrawWithTransparency);
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/
H A Dbgracanvas.pas211 …procedure StretchDraw(DestRect: TRect; SrcBitmap: TBGRACustomBitmap; HorizFlip: Boolean = false; V…
1740 procedure TBGRACanvas.StretchDraw(DestRect: TRect; SrcBitmap: TBGRACustomBitmap; HorizFlip: Boolean…
1744 with DestRect do
1762 if (DestRect.Right-DestRect.Left <> SrcBitmap.Width) or
1763 (DestRect.Bottom-DestRect.Top <> SrcBitmap.Height) or
1767 …Stretched := SrcBitmap.Resample(DestRect.Right-DestRect.Left,DestRect.Bottom-DestRect.Top,rmSimple…
1768 …Stretched := SrcBitmap.Resample(DestRect.Right-DestRect.Left,DestRect.Bottom-DestRect.Top,rmFineRe…
1771 FBitmap.PutImage(DestRect.Left,DestRect.Top,Stretched,dmDrawWithTransparency);
1774 FBitmap.PutImage(DestRect.Left,DestRect.Top,SrcBitmap,dmDrawWithTransparency);
/dports/devel/fpc-sdl/fpc-3.2.2/packages/sdl/src/
H A Dsdlutils.pas639 if DestRect = nil then
645 Dest := DestRect^;
910 if DestRect = nil then
916 Dest := DestRect^;
1173 if DestRect = nil then
1179 Dest := DestRect^;
1351 Dest := DestRect^;
3309 Dest := DestRect^;
3515 Dest := DestRect^;
3723 Dest := DestRect^;
[all …]
/dports/lang/fpc-source/fpc-3.2.2/packages/sdl/src/
H A Dsdlutils.pas639 if DestRect = nil then
645 Dest := DestRect^;
910 if DestRect = nil then
916 Dest := DestRect^;
1173 if DestRect = nil then
1179 Dest := DestRect^;
1351 Dest := DestRect^;
3309 Dest := DestRect^;
3515 Dest := DestRect^;
3723 Dest := DestRect^;
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Strategic/
H A DAuto_Resolve.cc863 SGPRect DestRect; in BuildInterfaceBuffer() local
871 DestRect.iLeft = 0; in BuildInterfaceBuffer()
872 DestRect.iTop = 0; in BuildInterfaceBuffer()
882 for( y = DestRect.iTop; y < DestRect.iBottom; y += 40 ) in BuildInterfaceBuffer()
884 for( x = DestRect.iLeft; x < DestRect.iRight; x += 50 ) in BuildInterfaceBuffer()
890 for( y = DestRect.iTop; y < DestRect.iBottom; y += 40 ) in BuildInterfaceBuffer()
892 x = DestRect.iLeft; in BuildInterfaceBuffer()
894 x = DestRect.iRight - 3; in BuildInterfaceBuffer()
898 for( x = DestRect.iLeft; x < DestRect.iRight; x += 50 ) in BuildInterfaceBuffer()
900 y = DestRect.iTop; in BuildInterfaceBuffer()
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/cores/VideoPlayer/Interface/
H A DStreamInfo.h63 CRect DestRect; member
/dports/editors/lazarus/lazarus/lcl/include/
H A Dwinapi.inc1145 System.Move(SrcRect, DestRect, SizeOf(TRect));
1370 Intersects SrcRect1 and SrcRect2 into DestRect.
1375 function IntersectRect(var DestRect: TRect;
1378 Result := Types.IntersectRect(DestRect,SrcRect1,SrcRect2);
1819 function UnionRect(var DestRect: TRect;
1823 DestRect := SrcRect2
1826 DestRect := SrcRect1
1828 DestRect.Left := Min(SrcRect1.Left, SrcRect2.Left);
1829 DestRect.Top := Min(SrcRect1.Top, SrcRect2.Top);
1830 DestRect.Right := Max(SrcRect1.Right, SrcRect2.Right);
[all …]
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/include/
H A Dwinapi.inc1145 System.Move(SrcRect, DestRect, SizeOf(TRect));
1370 Intersects SrcRect1 and SrcRect2 into DestRect.
1375 function IntersectRect(var DestRect: TRect;
1378 Result := Types.IntersectRect(DestRect,SrcRect1,SrcRect2);
1819 function UnionRect(var DestRect: TRect;
1823 DestRect := SrcRect2
1826 DestRect := SrcRect1
1828 DestRect.Left := Min(SrcRect1.Left, SrcRect2.Left);
1829 DestRect.Top := Min(SrcRect1.Top, SrcRect2.Top);
1830 DestRect.Right := Max(SrcRect1.Right, SrcRect2.Right);
[all …]
/dports/editors/lazarus-qt5/lazarus/lcl/include/
H A Dwinapi.inc1145 System.Move(SrcRect, DestRect, SizeOf(TRect));
1370 Intersects SrcRect1 and SrcRect2 into DestRect.
1375 function IntersectRect(var DestRect: TRect;
1378 Result := Types.IntersectRect(DestRect,SrcRect1,SrcRect2);
1819 function UnionRect(var DestRect: TRect;
1823 DestRect := SrcRect2
1826 DestRect := SrcRect1
1828 DestRect.Left := Min(SrcRect1.Left, SrcRect2.Left);
1829 DestRect.Top := Min(SrcRect1.Top, SrcRect2.Top);
1830 DestRect.Right := Max(SrcRect1.Right, SrcRect2.Right);
[all …]
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/include/
H A Dwinapi.inc1145 System.Move(SrcRect, DestRect, SizeOf(TRect));
1370 Intersects SrcRect1 and SrcRect2 into DestRect.
1375 function IntersectRect(var DestRect: TRect;
1378 Result := Types.IntersectRect(DestRect,SrcRect1,SrcRect2);
1819 function UnionRect(var DestRect: TRect;
1823 DestRect := SrcRect2
1826 DestRect := SrcRect1
1828 DestRect.Left := Min(SrcRect1.Left, SrcRect2.Left);
1829 DestRect.Top := Min(SrcRect1.Top, SrcRect2.Top);
1830 DestRect.Right := Max(SrcRect1.Right, SrcRect2.Right);
[all …]

12345