Why the problem? Paint a door and exit the room through the door you just did, but don't forget to take copius amounts of beer so the door is real :mrgreen:
Failing that, leap from said corner onto the carpet, unless that's painted too. Or paint a staircase, no, this is getting as silly as painting yourself into a corner and who the hell would do that in a legal state of mind :twisted: :twisted: :twisted: