nine/device: implement StretchRect