SDL_HitTest(3type)
π SDL_HitTest(3type) π
okay so this is the SDL3 DATATYPES manual, and we're talking about SDL_HitTest β literally the callback used for hit-testing. no cap, that's the whole name vibe. π
β¨ NAME β¨
SDL_HitTest β callback used for hit-testing. periodt. π
π SYNOPSIS π
#include <SDL3/SDL_video.h>
typedef SDL_HitTestResult (SDLCALL *SDL_HitTest)(SDL_Window *win, const SDL_Point *area, void *data);
π«Ά FUNCTION PARAMETERS π«Ά
winβ theSDL_Windowwhere hit-testing was set on. like, the window that's getting the vibe check. πͺareaβ anSDL_Pointwhich should be hit-tested. bestie, this is the point being tested. πdataβ what was passed ascallback_datatoSDL_SetWindowHitTest(). it's your lil payload, iykyk. π
π« RETURN VALUE π«
Returns an SDL_HitTestResult value. that's the tea. π΅
π₯ SEE ALSO π₯
SDL_SetWindowHitTest(3)β go read that one too, fr fr. π
and that's the whole page, bestie! this icon came from Simple Directmedia Layer, SDL 3.4.18, and it's SDL_HitTest(3type). mwah πβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms