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

◆ is_in_bounds() [1/2]

MAYAFLUX_API bool MayaFlux::is_in_bounds ( double  window_x,
double  window_y,
const std::shared_ptr< Core::Window > &  window 
)

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
windowWindow to extract dimensions from
Returns
true if point is within window bounds

Definition at line 90 of file Windowing.cpp.

92{
93 const auto& s = window->get_state();
94 return Kinesis::in_bounds(window_x, window_y, s.current_width, s.current_height);
95}

References MayaFlux::Kinesis::in_bounds().

+ Here is the call graph for this function: