added PointInsideSlot() and RectOverlapsSlot()