The wxwidgets driver provides antialzing support, which can be turned on with the option antialized=1.
Output of example 1 with antializing OFF:
Output of example 1 with antializing ON: