MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ is_in_bounds() [2/2]

MAYAFLUX_API bool MayaFlux::is_in_bounds ( double  window_x,
double  window_y,
uint32_t  window_width,
uint32_t  window_height 
)

Check if a point in window coordinates is inside the window bounds.

Parameters
window_xX coordinate in window space
window_yY coordinate in window space
window_widthWindow width in pixels
window_heightWindow height in pixels
Returns
true if point is within [0, width) × [0, height)

Definition at line 85 of file Windowing.cpp.

87{
88 return Kinesis::in_bounds(window_x, window_y, window_width, window_height);
89}

References MayaFlux::Kinesis::in_bounds().

+ Here is the call graph for this function: