draw and path snippets.