closepath does not invalidate the currentpoint