handy macros to get origin and size of CGRect