It's not very fast, but it works well enough... Run this on turbo mode. Quality 2 is recommended, 1 gives you slightly sharper edges at the expense of time. The higher the quality number, the quicker it is to draw, but less quality edges. (high numbers do not work well with small rectangles)
It basically repeats drawing the rectangle until it gets to the center.