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 91 of file Windowing.cpp.

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

References MayaFlux::Kinesis::in_bounds().

+ Here is the call graph for this function: