我只想問如何從NSString的-drawAtPoint方法繪製的屏幕擦除字符串。從drawAtPoint繪製的屏幕擦除字符串
一些細節如下:
繪製函數
void DrawString (NSString * str)
{
[str drawAtPoint: NSMakePoint(x,y) withAttributes: MyAttributes];
}
清除功能
void EraseString (NSString * str)
{
//Code to delete str from the screen.
}
刷新源。 –