he was very glad to have taken so many pains when he entered the chinese quarters : passing through the door , he had to duck beneath a sweep of heavy red cloth and found the room so richly draped with hangings it might have been taken for a grand pavilion on land , except for the steady motion of the ship beneath their feet .