mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Conform to OPENSTEP operation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a48c6b61da
commit
239351f63f
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
1999-05-25 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSStringDrawing.m ([NSAttributesString -drawInRect:]):
|
||||
Remove gsave/grestore and NSClipRect (to conform to Apple's
|
||||
OPENSTEP NSString operation).
|
||||
|
||||
Tue May 25 8:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/Model/IMConnectors.m: Use 'standard' function to set ivars
|
||||
|
|
|
@ -1238,9 +1238,6 @@ setupLine(GSTextLine *line, NSAttributedString *str, NSRange range,
|
|||
NSPoint point;
|
||||
NSView *view = [NSView focusView];
|
||||
|
||||
PSgsave();
|
||||
NSRectClip(rect);
|
||||
|
||||
/*
|
||||
* Since [-drawAtPoint:] positions the top-left corner of the text at
|
||||
* the point, we locate the top-left corner of the rectangle to do the
|
||||
|
@ -1253,7 +1250,6 @@ setupLine(GSTextLine *line, NSAttributedString *str, NSRange range,
|
|||
point.y = rect.origin.y + rect.size.height;
|
||||
|
||||
[self drawAtPoint: point];
|
||||
PSgrestore();
|
||||
}
|
||||
|
||||
- (NSSize) size
|
||||
|
|
Loading…
Reference in a new issue