It seems that the most common method of achieving this is to draw a GPolygonGPolygon with enough points to simulate a circle. The example you referenced uses this method. This page has a good example - look for the function drawCircle in the source code.