mmm... Got it... nevermind. just for reference, you do something like this:
Code:
- (void)drawRect:(NSRect)rect
{
NSAttributedString * myString = [[NSAttributedString alloc] initWithPath:mypath documentAttributes:NULL];
NSAffineTransform* xform = [NSAffineTransform transform];
[myString drawAtPoint:NSMakePoint(10,10)];
[xform rotateByDegrees:-90.0];
[xform concat];
[myString drawAtPoint:NSMakePoint(-150,0)];
[xform invert];
[xform concat];
[myString drawAtPoint:NSMakePoint(15,15)];
[myString release];
}
- (BOOL)isFlipped { return YES; }
in a new NSView subclass, and it'll draw (assuming the file pointed to by mystring exists and contains RTF data) the string four times... once normal, twice rotated, and then once normal again. Just so you can see it.
**stupid smilies... can't remember how to turn em off...**