Removed line smoothing because it doesn't work with antialiasing and premultiplied alpha.