Quartz drawing text
Can someone tell me what's wrong with this code. Text does not show.
char *text = "Quartz";
int textlen = strlen(text);
CGContextSetRGBStrokeColor(context, 1.0, 1.0, 1.0, 1.0);
CGFontRef fontRef = CGFontCreateWithFontName((CFStringRef)@"Georgia");
CGContextSetFont(context, fontRef);
CGContextSetTextMatrix(context, CGAffineTransformMake(1.0,0.0, 0.0, -1.0, 0.0, 0.0));
CGContextShowTextAtPoint(context, 70, 200, text, textlen);
CGContextSetTextDrawingMode(context, kCGTextStroke);
CGContextShowText(context, text, textlen);
|