R measureOverdraw