Transforming rounded-corner bitmap after measuring.