Update draw_sdf.r

Delegated requires to subfunction which requires them