get table rect from red stamp rect