cgrect and frame