[NSString drawInRect:withAttributes:] broken too, uh?
[NSString drawInRect:withAttributes:] broken too, uh?
- Subject: [NSString drawInRect:withAttributes:] broken too, uh?
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 28 Aug 2003 17:45:24 +0200
Is it my broken eyes or when you're using [NSString
drawInRect:withAttributes:], you can't draw a string that is partially
hidden at its top by the view frame?
Let's say you have this:
+---------------+
+-------+---------------+---+
| |stringRect | |
| +---------------+ |
|viewRect |
+---------------------------+
The issue is that the string will be stick to the bottom of viewRect
and not partially hidden. This is a strange "feature" in case it's a
feature since this is not occurring when the string is partially on the
left, right or bottom of the view.
If you're using drawAtPoint:withAttributes, this is "working" with the
restriction of the string being drawn too short with some Font/Size
couples.
Would there be any workaround for bugs on these methods?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.