I fixed #1921 (closed) (#1921 (closed))
And I created static function _applyAntialias mentioned in this issue.
_applyAntialias