MCPcopy Create free account
hub / github.com/DISTRHO/DPF / contains

Method contains

dgl/src/Geometry.cpp:900–903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898
899template<typename T>
900bool Rectangle<T>::contains(const T& x, const T& y) const noexcept
901{
902 return (x >= pos.x && y >= pos.y && x <= pos.x+size.fWidth && y <= pos.y+size.fHeight);
903}
904
905template<typename T>
906bool Rectangle<T>::contains(const Point<T>& p) const noexcept

Callers 15

mouseEventFunction · 0.45
motionEventFunction · 0.45
mouseEventMethod · 0.45
scrollEventMethod · 0.45
onMouseMethod · 0.45
lv2_generate_ttlFunction · 0.45
mainFunction · 0.45
onMouseMethod · 0.45
onMotionMethod · 0.45
onMotionFunction · 0.45
onMouseFunction · 0.45
onMouseFunction · 0.45

Calls 1

containsFunction · 0.85

Tested by

no test coverage detected