static extern int NGRectContainsPoint(NGRect rect, NGPoint pt);
 static extern NGRect NGRectInsect(NGRect rect, float dx, float dy);