your function which creates the path should be used later in a using statement
using(var path = getCircle(dc, "Text"))
{
// do something with path
}
it would also be better, if you would call the function CreateCircle
instead of getCircle