我有一些用drawinRect写的数字。但数字似乎是像素化的。如何平滑它的边缘?
用于此的代码是:
[date drawInRect:CGRectMake(targetX+2, targetY+10, kVRGCalendarViewDayWidth, kVRGCalendarViewDayHeight) withFont:[UIFont fontWithName:@"HelveticaNeue-Bold" size:10] lineBreakMode:NSLineBreakByWordWrapping alignment:NSTextAlignmentCenter];