CGContextSetShouldAntialias//设置图形上下文的抗锯齿开启或关闭。window和bitmap context位图上下文默认打开。其他的上下文类型是关闭的。is a graphics state parameter.
CGContextSetAllowsAntialiasing//是否允许反锯齿。Quartz在一个图形上下文中实现抗锯齿CGContextSetAllowsAntialiasing和CGContextSetShouldAntialias都是ture才行。is not a graphics state parameter.
CGContextSetShouldSmoothFonts//This parameter is part of the graphics state. Because of this, you use this when you want to temporarily override this setting in a drawing method.
CGContextSetAllowsFontSmoothing//is not a graphics state parameter.