Added in 1.9.4

$inroundrect(x,y,x,y,w,h,w,h)

Returns $true if the point x y (the first ones) is inside the specified rounded rectangle, and $false if it is not.